#9E8924#9E8924

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

Color values

HEX#9E8924
RGBrgb(158, 137, 36)
HSLhsl(50, 63%, 38%)
HSVhsv(50, 77%, 62%)
CMYKcmyk(0%, 13.3%, 77.2%, 38%)
CIE-LABlab(57.36, -2.97, 53.36)
CIE-LCHlch(57.36, 53.45, 93.18°)
OKLaboklab(63.14% -0.0139 0.1169)
OKLCHoklch(63.14% 0.118 96.8)
XYZxyz(23.3659, 25.2890, 5.3193)
Luminance0.2529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E8924 #24399E
analogous
#9E4C24 #9E8924 #769E24
triadic
#9E8924 #249E89 #89249E
tetradic
#9E8924 #249E4C #24399E #9E2476
square
#9E8924 #249E4C #24399E #9E2476
split-complementary
#9E8924 #24769E #4C249E
monochromatic
#3A330D #6C5E19 #9E8924 #D0B42F #DBC661

Accessibility & contrast

On white

3.47
#9E8924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E8924#FFFFFF#000000##000000
##9E89241.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e8924;
/* rgb */ color: rgb(158, 137, 36);
/* oklch */ color: oklch(63.1% 0.118 96.8);
Tailwind
colors: {
  custom: {
    50: '#beab67',
    500: '#9e8924',
    950: '#000000',
  },
}
SCSS
$custom: #9e8924;
$custom-light: #beab67;
$custom-dark: #000000;
JSON
{
  "hex": "#9e8924",
  "rgb": {
    "r": 158,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 49.672,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63141,
    "c": 0.11771,
    "h": 96.8
  },
  "luminance": 0.25288
}

Semantic roles & 50–950 ramp

primary
#9E8924
secondary
#5E6FC0
accent
#5EE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E8924

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

Preview Lab → · Contrast checker → · Palette generator →

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