#9E8D24#9E8D24

#9E8D24 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 64.0% C 0.121 H 99.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9E8D24
RGBrgb(158, 141, 36)
HSLhsl(52, 63%, 38%)
HSVhsv(52, 77%, 62%)
CMYKcmyk(0%, 10.8%, 77.2%, 38%)
CIE-LABlab(58.46, -5.16, 54.39)
CIE-LCHlch(58.46, 54.64, 95.42°)
OKLaboklab(64.02% -0.0201 0.1191)
OKLCHoklch(64.02% 0.121 99.6)
XYZxyz(23.9450, 26.4474, 5.5123)
Luminance0.2645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8D24 #24359E
analogous
#9E5024 #9E8D24 #729E24
triadic
#9E8D24 #249E8D #8D249E
tetradic
#9E8D24 #249E50 #24359E #9E2472
square
#9E8D24 #249E50 #24359E #9E2472
split-complementary
#9E8D24 #24729E #50249E
monochromatic
#3A340D #6C6119 #9E8D24 #D0B92F #DBCA61

Accessibility & contrast

On white

3.34
#9E8D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#9E8D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8D24
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8D24#FFFFFF#000000##000000
##9E8D241.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890E
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#AB8279
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9e8d24;
/* rgb */ color: rgb(158, 141, 36);
/* oklch */ color: oklch(64.0% 0.121 99.6);
Tailwind
colors: {
  custom: {
    50: '#beae67',
    500: '#9e8d24',
    950: '#000000',
  },
}
SCSS
$custom: #9e8d24;
$custom-light: #beae67;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8d24",
  "rgb": {
    "r": 158,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 51.639,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64015,
    "c": 0.12076,
    "h": 99.6
  },
  "luminance": 0.26446
}

Semantic roles & 50–950 ramp

primary
#9E8D24
secondary
#5E6BC0
accent
#59E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8D24

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

Preview Lab → · Contrast checker → · Palette generator →

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