#9E8E24#9E8E24

#9E8E24 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.122 H 100.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9E8E24
RGBrgb(158, 142, 36)
HSLhsl(52, 63%, 38%)
HSVhsv(52, 77%, 62%)
CMYKcmyk(0%, 10.1%, 77.2%, 38%)
CIE-LABlab(58.74, -5.70, 54.65)
CIE-LCHlch(58.74, 54.95, 95.96°)
OKLaboklab(64.24% -0.0217 0.1196)
OKLCHoklch(64.24% 0.122 100.3)
XYZxyz(24.0932, 26.7436, 5.5617)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8E24 #24349E
analogous
#9E5124 #9E8E24 #719E24
triadic
#9E8E24 #249E8E #8E249E
tetradic
#9E8E24 #249E51 #24349E #9E2471
square
#9E8E24 #249E51 #24349E #9E2471
split-complementary
#9E8E24 #24719E #51249E
monochromatic
#3A340D #6C6119 #9E8E24 #D0BB2F #DBCB61

Accessibility & contrast

On white

3.31
#9E8E24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#9E8E24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8E24
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8E24#FFFFFF#000000##000000
##9E8E241.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0E
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#AB837A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9e8e24;
/* rgb */ color: rgb(158, 142, 36);
/* oklch */ color: oklch(64.2% 0.122 100.3);
Tailwind
colors: {
  custom: {
    50: '#beae68',
    500: '#9e8e24',
    950: '#000000',
  },
}
SCSS
$custom: #9e8e24;
$custom-light: #beae68;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8e24",
  "rgb": {
    "r": 158,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 52.131,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64235,
    "c": 0.12157,
    "h": 100.3
  },
  "luminance": 0.26742
}

Semantic roles & 50–950 ramp

primary
#9E8E24
secondary
#5E6AC0
accent
#57E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8E24

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

Preview Lab → · Contrast checker → · Palette generator →

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