#9F9D24#9F9D24

#9F9D24 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.7% C 0.135 H 108.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9F9D24
RGBrgb(159, 157, 36)
HSLhsl(59, 63%, 38%)
HSVhsv(59, 77%, 62%)
CMYKcmyk(0%, 1.3%, 77.4%, 37.6%)
CIE-LABlab(63.02, -13.25, 58.62)
CIE-LCHlch(63.02, 60.10, 102.74°)
OKLaboklab(67.67% -0.0429 0.128)
OKLCHoklch(67.67% 0.135 108.5)
XYZxyz(26.6745, 31.6131, 6.3656)
Luminance0.3161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9D24 #24269F
analogous
#9F5F24 #9F9D24 #649F24
triadic
#9F9D24 #249F9D #9D249F
tetradic
#9F9D24 #249F5F #24269F #9F2464
square
#9F9D24 #249F5F #24269F #9F2464
split-complementary
#9F9D24 #24649F #5F249F
monochromatic
#3B3A0D #6D6C19 #9F9D24 #D0CE30 #DBD962

Accessibility & contrast

On white

2.87
#9F9D24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#9F9D24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9D24
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9D24#FFFFFF#000000##000000
##9F9D241.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f9d24;
/* rgb */ color: rgb(159, 157, 36);
/* oklch */ color: oklch(67.7% 0.135 108.5);
Tailwind
colors: {
  custom: {
    50: '#bfb969',
    500: '#9f9d24',
    950: '#000000',
  },
}
SCSS
$custom: #9f9d24;
$custom-light: #bfb969;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9d24",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 36
  },
  "hsl": {
    "h": 59.024,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67668,
    "c": 0.13505,
    "h": 108.5
  },
  "luminance": 0.31612
}

Semantic roles & 50–950 ramp

primary
#9F9D24
secondary
#5E60C1
accent
#44E642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9D24

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

Preview Lab → · Contrast checker → · Palette generator →

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