#9E8929#9E8929

#9E8929 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.115 H 96.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9E8929
RGBrgb(158, 137, 41)
HSLhsl(49, 59%, 39%)
HSVhsv(49, 74%, 62%)
CMYKcmyk(0%, 13.3%, 74.1%, 38%)
CIE-LABlab(57.39, -2.74, 51.50)
CIE-LCHlch(57.39, 51.57, 93.05°)
OKLaboklab(63.18% -0.0128 0.1139)
OKLCHoklch(63.18% 0.115 96.4)
XYZxyz(23.4476, 25.3218, 5.7499)
Luminance0.2532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8929 #293E9E
analogous
#9E4F29 #9E8929 #799E29
triadic
#9E8929 #299E89 #89299E
tetradic
#9E8929 #299E4F #293E9E #9E2979
square
#9E8929 #299E4F #293E9E #9E2979
split-complementary
#9E8929 #29799E #4F299E
monochromatic
#3D3510 #6D5F1C #9E8929 #CCB139 #D8C469

Accessibility & contrast

On white

3.46
#9E8929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#9E8929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8929
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8929#FFFFFF#000000##000000
##9E89291.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978619
Deuteranopia (green-blind)
#9D8D2F
Tritanopia (blue-blind)
#AB7E76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8929;
/* rgb */ color: rgb(158, 137, 41);
/* oklch */ color: oklch(63.2% 0.115 96.4);
Tailwind
colors: {
  custom: {
    50: '#beab6a',
    500: '#9e8929',
    950: '#000000',
  },
}
SCSS
$custom: #9e8929;
$custom-light: #beab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8929",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 41
  },
  "hsl": {
    "h": 49.231,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63176,
    "c": 0.11463,
    "h": 96.4
  },
  "luminance": 0.25321
}

Semantic roles & 50–950 ramp

primary
#9E8929
secondary
#6474BF
accent
#62E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E8929

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9E8929 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva