#9E8529#9E8529

#9E8529 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.3% C 0.112 H 93.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9E8529
RGBrgb(158, 133, 41)
HSLhsl(47, 59%, 39%)
HSVhsv(47, 74%, 62%)
CMYKcmyk(0%, 15.8%, 74.1%, 38%)
CIE-LABlab(56.29, -0.53, 50.43)
CIE-LCHlch(56.29, 50.43, 90.60°)
OKLaboklab(62.31% -0.0065 0.1117)
OKLCHoklch(62.31% 0.112 93.3)
XYZxyz(22.8895, 24.2056, 5.5639)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8529 #29429E
analogous
#9E4A29 #9E8529 #7D9E29
triadic
#9E8529 #299E85 #85299E
tetradic
#9E8529 #299E4A #29429E #9E297D
square
#9E8529 #299E4A #29429E #9E297D
split-complementary
#9E8529 #297D9E #4A299E
monochromatic
#3D3310 #6D5C1C #9E8529 #CCAC39 #D8C069

Accessibility & contrast

On white

3.60
#9E8529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#9E8529 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8529
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8529#FFFFFF#000000##000000
##9E85291.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#AB7A73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e8529;
/* rgb */ color: rgb(158, 133, 41);
/* oklch */ color: oklch(62.3% 0.112 93.3);
Tailwind
colors: {
  custom: {
    50: '#bea869',
    500: '#9e8529',
    950: '#000000',
  },
}
SCSS
$custom: #9e8529;
$custom-light: #bea869;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8529",
  "rgb": {
    "r": 158,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 47.179,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6231,
    "c": 0.11184,
    "h": 93.3
  },
  "luminance": 0.24204
}

Semantic roles & 50–950 ramp

primary
#9E8529
secondary
#6478BF
accent
#67E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9E8529

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

Preview Lab → · Contrast checker → · Palette generator →

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