#8A8A2E

A color in the Yellow, Gold family

#8a8a2e is a color in the Yellow, Gold family: RGB(138, 138, 46), HSL(60°, 50%, 36%), CMYK(0%, 0%, 67%, 46%). Closest named color: olive. Contrast is 3.65:1 on white and 5.76:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a8a2e
RGBrgb(138 138 46)
RGB (legacy)rgb(138, 138, 46)
RGB %rgb(54% 54% 18%)
HSLhsl(60 50% 36%)
HSV / HSBhsv(60, 67%, 54%)
HWBhwb(60 18% 46%)
CMYKcmyk(0%, 0%, 67%, 46%)
CIELAB (D50)lab(56.13 -8.83 47.01)
LCHlch(56.13 47.84 100.64)
OKLaboklab(0.6154 -0.0374 0.1067)
OKLCHoklch(0.6154 0.113 109.31)
Decimal9079342

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 3.7
Closest web-safe color#999933
Hue60°
Saturation (HSL / HSV)50% / 67%
Lightness (HSL)36%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)50% / 52%
Relative luminance (WCAG)0.2378
Red / Green / Blue138 / 138 / 46

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.65:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.76:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 64 / -37.7 · As background with white / black text: Lc -69.5 / 40.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #8a8a2e;
  --color-brand-oklch: oklch(61.54% 0.113 109.31);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 138 46 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a8a2e] text-[#8a8a2e] border-[#8a8a2e]">