#9E9E24#9E9E24

#9E9E24 is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.8% C 0.136 H 109.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9E9E24
RGBrgb(158, 158, 36)
HSLhsl(60, 63%, 38%)
HSVhsv(60, 77%, 62%)
CMYKcmyk(0%, 0%, 77.2%, 38%)
CIE-LABlab(63.22, -14.22, 58.77)
CIE-LCHlch(63.22, 60.47, 103.60°)
OKLaboklab(67.81% -0.0456 0.1284)
OKLCHoklch(67.81% 0.136 109.5)
XYZxyz(26.6468, 31.8510, 6.4129)
Luminance0.3185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9E24 #24249E
analogous
#9E6124 #9E9E24 #619E24
triadic
#9E9E24 #249E9E #9E249E
tetradic
#9E9E24 #249E61 #24249E #9E2461
square
#9E9E24 #249E61 #24249E #9E2461
split-complementary
#9E9E24 #24619E #61249E
monochromatic
#3A3A0D #6C6C19 #9E9E24 #D0D02F #DBDB61

Accessibility & contrast

On white

2.85
#9E9E24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#9E9E24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9E24
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9E24#FFFFFF#000000##000000
##9E9E241.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9703
Deuteranopia (green-blind)
#AD9B2E
Tritanopia (blue-blind)
#AA9487
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9e9e24;
/* rgb */ color: rgb(158, 158, 36);
/* oklch */ color: oklch(67.8% 0.136 109.5);
Tailwind
colors: {
  custom: {
    50: '#beba6a',
    500: '#9e9e24',
    950: '#000000',
  },
}
SCSS
$custom: #9e9e24;
$custom-light: #beba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9e24",
  "rgb": {
    "r": 158,
    "g": 158,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67805,
    "c": 0.13625,
    "h": 109.5
  },
  "luminance": 0.3185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E9E24

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

Preview Lab → · Contrast checker → · Palette generator →

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