#9E8A21

A color in the Yellow, Gold family

#9e8a21 is a color in the Yellow, Gold family: RGB(158, 138, 33), HSL(50°, 65%, 37%), CMYK(0%, 13%, 79%, 38%). Closest named color: darkgoldenrod. Contrast is 3.44:1 on white and 6.11:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#9e8a21
RGBrgb(158 138 33)
RGB (legacy)rgb(158, 138, 33)
RGB %rgb(62% 54% 13%)
HSLhsl(50 65% 37%)
HSV / HSBhsv(50, 79%, 62%)
HWBhwb(50 13% 38%)
CMYKcmyk(0%, 13%, 79%, 38%)
CIELAB (D50)lab(57.96 -0.33 54.41)
LCHlch(57.96 54.41 90.35)
OKLaboklab(0.6334 -0.0162 0.119)
OKLCHoklch(0.6334 0.1201 97.73)
Decimal10390049

Properties

Color ToneYellow, Gold
Closest named colordarkgoldenrod ΔE 4.2
Closest web-safe color#999933
Hue50°
Saturation (HSL / HSV)65% / 79%
Lightness (HSL)37%
Brightness or Value (HSV)62%
Luminance (Rec.601 / Rec.709)52% / 53%
Relative luminance (WCAG)0.2556
Red / Green / Blue158 / 138 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.44:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.11: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 61.8 / -39.9 · As background with white / black text: Lc -67.2 / 42.3

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: #9e8a21;
  --color-brand-oklch: oklch(63.34% 0.1201 97.73);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(158 138 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9e8a21] text-[#9e8a21] border-[#9e8a21]">