#9D9420#9D9420

#9D9420 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.4% C 0.129 H 104.7°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9D9420
RGBrgb(157, 148, 32)
HSLhsl(56, 66%, 37%)
HSVhsv(56, 80%, 62%)
CMYKcmyk(0%, 5.7%, 79.6%, 38.4%)
CIE-LABlab(60.30, -9.55, 57.37)
CIE-LCHlch(60.30, 58.16, 99.45°)
OKLaboklab(65.45% -0.0328 0.1247)
OKLCHoklch(65.45% 0.129 104.7)
XYZxyz(24.7563, 28.4532, 5.5542)
Luminance0.2845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9420 #20299D
analogous
#9D5620 #9D9420 #689D20
triadic
#9D9420 #209D94 #94209D
tetradic
#9D9420 #209D56 #20299D #9D2068
square
#9D9420 #209D56 #20299D #9D2068
split-complementary
#9D9420 #20689D #56209D
monochromatic
#37340B #6A6416 #9D9420 #D0C42A #DDD45A

Accessibility & contrast

On white

3.14
#9D9420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#9D9420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9420
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9420#FFFFFF#000000##000000
##9D94201.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A5942A
Tritanopia (blue-blind)
#A9897F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d9420;
/* rgb */ color: rgb(157, 148, 32);
/* oklch */ color: oklch(65.4% 0.129 104.7);
Tailwind
colors: {
  custom: {
    50: '#beb366',
    500: '#9d9420',
    950: '#000000',
  },
}
SCSS
$custom: #9d9420;
$custom-light: #beb366;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9420",
  "rgb": {
    "r": 157,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 55.68,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65446,
    "c": 0.12893,
    "h": 104.7
  },
  "luminance": 0.28452
}

Semantic roles & 50–950 ramp

primary
#9D9420
secondary
#575FC1
accent
#4BE93F
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D9420

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

Preview Lab → · Contrast checker → · Palette generator →

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