#9F9620#9F9620

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

Color values

HEX#9F9620
RGBrgb(159, 150, 32)
HSLhsl(56, 66%, 37%)
HSVhsv(56, 80%, 62%)
CMYKcmyk(0%, 5.7%, 79.9%, 37.6%)
CIE-LABlab(61.04, -9.71, 58.10)
CIE-LCHlch(61.04, 58.91, 99.49°)
OKLaboklab(66.08% -0.0334 0.1262)
OKLCHoklch(66.08% 0.13 104.8)
XYZxyz(25.4663, 29.2889, 5.6781)
Luminance0.2929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9620 #20299F
analogous
#9F5620 #9F9620 #699F20
triadic
#9F9620 #209F96 #96209F
tetradic
#9F9620 #209F56 #20299F #9F2069
square
#9F9620 #209F56 #20299F #9F2069
split-complementary
#9F9620 #20699F #56209F
monochromatic
#39360B #6C6616 #9F9620 #D2C62A #DED55B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9620#FFFFFF#000000##000000
##9F96201.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)
#A49000
Deuteranopia (green-blind)
#A7962A
Tritanopia (blue-blind)
#AB8B80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9f9620;
/* rgb */ color: rgb(159, 150, 32);
/* oklch */ color: oklch(66.1% 0.130 104.8);
Tailwind
colors: {
  custom: {
    50: '#bfb467',
    500: '#9f9620',
    950: '#000000',
  },
}
SCSS
$custom: #9f9620;
$custom-light: #bfb467;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9620",
  "rgb": {
    "r": 159,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 55.748,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66078,
    "c": 0.13049,
    "h": 104.8
  },
  "luminance": 0.29288
}

Semantic roles & 50–950 ramp

primary
#9F9620
secondary
#5960C2
accent
#4BE93E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9F9620

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

Preview Lab → · Contrast checker → · Palette generator →

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