#9D9720#9D9720

#9D9720 is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.1% C 0.132 H 106.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9D9720
RGBrgb(157, 151, 32)
HSLhsl(57, 66%, 37%)
HSVhsv(57, 80%, 62%)
CMYKcmyk(0%, 3.8%, 79.6%, 38.4%)
CIE-LABlab(61.14, -11.14, 58.12)
CIE-LCHlch(61.14, 59.18, 100.85°)
OKLaboklab(66.12% -0.0373 0.1263)
OKLCHoklch(66.12% 0.132 106.4)
XYZxyz(25.2330, 29.4065, 5.7131)
Luminance0.2941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9720 #20269D
analogous
#9D5920 #9D9720 #659D20
triadic
#9D9720 #209D97 #97209D
tetradic
#9D9720 #209D59 #20269D #9D2065
square
#9D9720 #209D59 #20269D #9D2065
split-complementary
#9D9720 #20659D #59209D
monochromatic
#37350B #6A6616 #9D9720 #D0C82A #DDD75A

Accessibility & contrast

On white

3.05
#9D9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#9D9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9720
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9720#FFFFFF#000000##000000
##9D97201.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A7962A
Tritanopia (blue-blind)
#A98C81
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d9720;
/* rgb */ color: rgb(157, 151, 32);
/* oklch */ color: oklch(66.1% 0.132 106.4);
Tailwind
colors: {
  custom: {
    50: '#beb567',
    500: '#9d9720',
    950: '#000000',
  },
}
SCSS
$custom: #9d9720;
$custom-light: #beb567;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9720",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 57.12,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66117,
    "c": 0.13169,
    "h": 106.4
  },
  "luminance": 0.29406
}

Semantic roles & 50–950 ramp

primary
#9D9720
secondary
#575CC1
accent
#47E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9720

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

Preview Lab → · Contrast checker → · Palette generator →

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