#9F9624#9F9624

#9F9624 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.1% C 0.128 H 104.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9F9624
RGBrgb(159, 150, 36)
HSLhsl(56, 63%, 38%)
HSVhsv(56, 77%, 62%)
CMYKcmyk(0%, 5.7%, 77.4%, 37.6%)
CIE-LABlab(61.06, -9.56, 56.82)
CIE-LCHlch(61.06, 57.62, 99.55°)
OKLaboklab(66.1% -0.0326 0.1242)
OKLCHoklch(66.1% 0.128 104.7)
XYZxyz(25.5240, 29.3120, 5.9820)
Luminance0.2931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9624 #242D9F
analogous
#9F5824 #9F9624 #6A9F24
triadic
#9F9624 #249F96 #96249F
tetradic
#9F9624 #249F58 #242D9F #9F246A
square
#9F9624 #249F58 #242D9F #9F246A
split-complementary
#9F9624 #246A9F #58249F
monochromatic
#3B380D #6D6719 #9F9624 #D0C430 #DBD362

Accessibility & contrast

On white

3.06
#9F9624 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#9F9624 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9624
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9624#FFFFFF#000000##000000
##9F96241.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49108
Deuteranopia (green-blind)
#A7962D
Tritanopia (blue-blind)
#AB8B81
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9624;
/* rgb */ color: rgb(159, 150, 36);
/* oklch */ color: oklch(66.1% 0.128 104.7);
Tailwind
colors: {
  custom: {
    50: '#bfb469',
    500: '#9f9624',
    950: '#000000',
  },
}
SCSS
$custom: #9f9624;
$custom-light: #bfb469;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9624",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 36
  },
  "hsl": {
    "h": 55.61,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66101,
    "c": 0.12841,
    "h": 104.7
  },
  "luminance": 0.29311
}

Semantic roles & 50–950 ramp

primary
#9F9624
secondary
#5E65C1
accent
#4EE642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9F9624

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

Preview Lab → · Contrast checker → · Palette generator →

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