#9D9D20#9D9D20

#9D9D20 is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.5% C 0.137 H 109.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9D9D20
RGBrgb(157, 157, 32)
HSLhsl(60, 66%, 37%)
HSVhsv(60, 80%, 62%)
CMYKcmyk(0%, 0%, 79.6%, 38.4%)
CIE-LABlab(62.83, -14.30, 59.63)
CIE-LCHlch(62.83, 61.32, 103.48°)
OKLaboklab(67.47% -0.0461 0.1295)
OKLCHoklch(67.47% 0.137 109.6)
XYZxyz(26.2233, 31.3871, 6.0432)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9D20 #20209D
analogous
#9D5F20 #9D9D20 #5F9D20
triadic
#9D9D20 #209D9D #9D209D
tetradic
#9D9D20 #209D5F #20209D #9D205F
square
#9D9D20 #209D5F #20209D #9D205F
split-complementary
#9D9D20 #205F9D #5F209D
monochromatic
#37370B #6A6A16 #9D9D20 #D0D02A #DDDD5A

Accessibility & contrast

On white

2.89
#9D9D20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#9D9D20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9D20
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9D20#FFFFFF#000000##000000
##9D9D201.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AC9A2B
Tritanopia (blue-blind)
#A99286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d9d20;
/* rgb */ color: rgb(157, 157, 32);
/* oklch */ color: oklch(67.5% 0.137 109.6);
Tailwind
colors: {
  custom: {
    50: '#beb968',
    500: '#9d9d20',
    950: '#000000',
  },
}
SCSS
$custom: #9d9d20;
$custom-light: #beb968;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9d20",
  "rgb": {
    "r": 157,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6747,
    "c": 0.13748,
    "h": 109.6
  },
  "luminance": 0.31386
}

Semantic roles & 50–950 ramp

primary
#9D9D20
secondary
#5757C1
accent
#3FE93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9D20

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

Preview Lab → · Contrast checker → · Palette generator →

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