#9F9E24#9F9E24

#9F9E24 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 67.9% C 0.136 H 109.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9F9E24
RGBrgb(159, 158, 36)
HSLhsl(60, 63%, 38%)
HSVhsv(60, 77%, 62%)
CMYKcmyk(0%, 0.6%, 77.4%, 37.6%)
CIE-LABlab(63.30, -13.78, 58.88)
CIE-LCHlch(63.30, 60.47, 103.17°)
OKLaboklab(67.89% -0.0444 0.1286)
OKLCHoklch(67.89% 0.136 109)
XYZxyz(26.8444, 31.9529, 6.4222)
Luminance0.3195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9E24 #24259F
analogous
#9F6024 #9F9E24 #629F24
triadic
#9F9E24 #249F9E #9E249F
tetradic
#9F9E24 #249F60 #24259F #9F2462
square
#9F9E24 #249F60 #24259F #9F2462
split-complementary
#9F9E24 #24629F #60249F
monochromatic
#3B3B0D #6D6C19 #9F9E24 #D0CF30 #DBDA62

Accessibility & contrast

On white

2.84
#9F9E24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#9F9E24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9E24
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9E24#FFFFFF#000000##000000
##9F9E241.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f9e24;
/* rgb */ color: rgb(159, 158, 36);
/* oklch */ color: oklch(67.9% 0.136 109.0);
Tailwind
colors: {
  custom: {
    50: '#bfba6a',
    500: '#9f9e24',
    950: '#000000',
  },
}
SCSS
$custom: #9f9e24;
$custom-light: #bfba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9e24",
  "rgb": {
    "r": 159,
    "g": 158,
    "b": 36
  },
  "hsl": {
    "h": 59.512,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67893,
    "c": 0.13604,
    "h": 109
  },
  "luminance": 0.31952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F9E24

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

Preview Lab → · Contrast checker → · Palette generator →

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