#9D9020#9D9020

#9D9020 is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.6% C 0.125 H 102.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9D9020
RGBrgb(157, 144, 32)
HSLhsl(54, 66%, 37%)
HSVhsv(54, 80%, 62%)
CMYKcmyk(0%, 8.3%, 79.6%, 38.4%)
CIE-LABlab(59.18, -7.40, 56.37)
CIE-LCHlch(59.18, 56.85, 97.48°)
OKLaboklab(64.56% -0.0268 0.1225)
OKLCHoklch(64.56% 0.125 102.3)
XYZxyz(24.1397, 27.2200, 5.3487)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9020 #202D9D
analogous
#9D5220 #9D9020 #6C9D20
triadic
#9D9020 #209D90 #90209D
tetradic
#9D9020 #209D52 #202D9D #9D206C
square
#9D9020 #209D52 #202D9D #9D206C
split-complementary
#9D9020 #206C9D #52209D
monochromatic
#37330B #6A6116 #9D9020 #D0BF2A #DDD05A

Accessibility & contrast

On white

3.26
#9D9020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#9D9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9020
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9020#FFFFFF#000000##000000
##9D90201.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B02
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#A9857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9d9020;
/* rgb */ color: rgb(157, 144, 32);
/* oklch */ color: oklch(64.6% 0.125 102.3);
Tailwind
colors: {
  custom: {
    50: '#beb066',
    500: '#9d9020',
    950: '#000000',
  },
}
SCSS
$custom: #9d9020;
$custom-light: #beb066;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9020",
  "rgb": {
    "r": 157,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 53.76,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64556,
    "c": 0.12543,
    "h": 102.3
  },
  "luminance": 0.27219
}

Semantic roles & 50–950 ramp

primary
#9D9020
secondary
#5762C1
accent
#50E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D9020

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

Preview Lab → · Contrast checker → · Palette generator →

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