#9D9620#9D9620

#9D9620 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.9% C 0.131 H 105.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9D9620
RGBrgb(157, 150, 32)
HSLhsl(57, 66%, 37%)
HSVhsv(57, 80%, 62%)
CMYKcmyk(0%, 4.5%, 79.6%, 38.4%)
CIE-LABlab(60.86, -10.61, 57.87)
CIE-LCHlch(60.86, 58.84, 100.39°)
OKLaboklab(65.89% -0.0358 0.1258)
OKLCHoklch(65.89% 0.131 105.9)
XYZxyz(25.0728, 29.0860, 5.6597)
Luminance0.2908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9620 #20279D
analogous
#9D5820 #9D9620 #669D20
triadic
#9D9620 #209D96 #96209D
tetradic
#9D9620 #209D58 #20279D #9D2066
square
#9D9620 #209D58 #20279D #9D2066
split-complementary
#9D9620 #20669D #58209D
monochromatic
#37350B #6A6516 #9D9620 #D0C72A #DDD65A

Accessibility & contrast

On white

3.08
#9D9620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#9D9620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9620
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9620#FFFFFF#000000##000000
##9D96201.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A6952A
Tritanopia (blue-blind)
#A98B80
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #9d9620;
/* rgb */ color: rgb(157, 150, 32);
/* oklch */ color: oklch(65.9% 0.131 105.9);
Tailwind
colors: {
  custom: {
    50: '#beb467',
    500: '#9d9620',
    950: '#000000',
  },
}
SCSS
$custom: #9d9620;
$custom-light: #beb467;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9620",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 56.64,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65893,
    "c": 0.13076,
    "h": 105.9
  },
  "luminance": 0.29085
}

Semantic roles & 50–950 ramp

primary
#9D9620
secondary
#575DC1
accent
#48E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9620

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

Preview Lab → · Contrast checker → · Palette generator →

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