#9E9D24#9E9D24

#9E9D24 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.6% C 0.135 H 109.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9E9D24
RGBrgb(158, 157, 36)
HSLhsl(60, 63%, 38%)
HSVhsv(60, 77%, 62%)
CMYKcmyk(0%, 0.6%, 77.2%, 38%)
CIE-LABlab(62.94, -13.70, 58.51)
CIE-LCHlch(62.94, 60.09, 103.18°)
OKLaboklab(67.58% -0.0441 0.1279)
OKLCHoklch(67.58% 0.135 109)
XYZxyz(26.4770, 31.5113, 6.3563)
Luminance0.3151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9D24 #24259E
analogous
#9E6024 #9E9D24 #629E24
triadic
#9E9D24 #249E9D #9D249E
tetradic
#9E9D24 #249E60 #24259E #9E2462
square
#9E9D24 #249E60 #24259E #9E2462
split-complementary
#9E9D24 #24629E #60249E
monochromatic
#3A3A0D #6C6B19 #9E9D24 #D0CE2F #DBDA61

Accessibility & contrast

On white

2.88
#9E9D24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#9E9D24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9D24
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9D24#FFFFFF#000000##000000
##9E9D241.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9603
Deuteranopia (green-blind)
#AC9A2E
Tritanopia (blue-blind)
#AA9386
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e9d24;
/* rgb */ color: rgb(158, 157, 36);
/* oklch */ color: oklch(67.6% 0.135 109.0);
Tailwind
colors: {
  custom: {
    50: '#beb969',
    500: '#9e9d24',
    950: '#000000',
  },
}
SCSS
$custom: #9e9d24;
$custom-light: #beb969;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9d24",
  "rgb": {
    "r": 158,
    "g": 157,
    "b": 36
  },
  "hsl": {
    "h": 59.508,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67579,
    "c": 0.13525,
    "h": 109
  },
  "luminance": 0.3151
}

Semantic roles & 50–950 ramp

primary
#9E9D24
secondary
#5E5EC0
accent
#43E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9D24

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

Preview Lab → · Contrast checker → · Palette generator →

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