#9E8A24#9E8A24

#9E8A24 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.118 H 97.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9E8A24
RGBrgb(158, 138, 36)
HSLhsl(50, 63%, 38%)
HSVhsv(50, 77%, 62%)
CMYKcmyk(0%, 12.7%, 77.2%, 38%)
CIE-LABlab(57.63, -3.52, 53.62)
CIE-LCHlch(57.63, 53.73, 93.75°)
OKLaboklab(63.36% -0.0155 0.1174)
OKLCHoklch(63.36% 0.118 97.5)
XYZxyz(23.5087, 25.5747, 5.3669)
Luminance0.2557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8A24 #24389E
analogous
#9E4D24 #9E8A24 #759E24
triadic
#9E8A24 #249E8A #8A249E
tetradic
#9E8A24 #249E4D #24389E #9E2475
square
#9E8A24 #249E4D #24389E #9E2475
split-complementary
#9E8A24 #24759E #4D249E
monochromatic
#3A330D #6C5E19 #9E8A24 #D0B52F #DBC761

Accessibility & contrast

On white

3.43
#9E8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#9E8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E8A24
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E8A24#FFFFFF#000000##000000
##9E8A241.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988710
Deuteranopia (green-blind)
#9E8D2B
Tritanopia (blue-blind)
#AB7F76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9e8a24;
/* rgb */ color: rgb(158, 138, 36);
/* oklch */ color: oklch(63.4% 0.118 97.5);
Tailwind
colors: {
  custom: {
    50: '#beab67',
    500: '#9e8a24',
    950: '#000000',
  },
}
SCSS
$custom: #9e8a24;
$custom-light: #beab67;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8a24",
  "rgb": {
    "r": 158,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 50.164,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63359,
    "c": 0.11844,
    "h": 97.5
  },
  "luminance": 0.25573
}

Semantic roles & 50–950 ramp

primary
#9E8A24
secondary
#5E6EC0
accent
#5DE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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