#9D9520#9D9520

#9D9520 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.7% C 0.130 H 105.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9D9520
RGBrgb(157, 149, 32)
HSLhsl(56, 66%, 37%)
HSVhsv(56, 80%, 62%)
CMYKcmyk(0%, 5.1%, 79.6%, 38.4%)
CIE-LABlab(60.58, -10.08, 57.62)
CIE-LCHlch(60.58, 58.50, 99.92°)
OKLaboklab(65.67% -0.0343 0.1252)
OKLCHoklch(65.67% 0.13 105.3)
XYZxyz(24.9139, 28.7683, 5.6067)
Luminance0.2877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9520 #20289D
analogous
#9D5720 #9D9520 #679D20
triadic
#9D9520 #209D95 #95209D
tetradic
#9D9520 #209D57 #20289D #9D2067
square
#9D9520 #209D57 #20289D #9D2067
split-complementary
#9D9520 #20679D #57209D
monochromatic
#37350B #6A6516 #9D9520 #D0C52A #DDD55A

Accessibility & contrast

On white

3.11
#9D9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#9D9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9520
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9520#FFFFFF#000000##000000
##9D95201.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A6942A
Tritanopia (blue-blind)
#A98A7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d9520;
/* rgb */ color: rgb(157, 149, 32);
/* oklch */ color: oklch(65.7% 0.130 105.3);
Tailwind
colors: {
  custom: {
    50: '#beb367',
    500: '#9d9520',
    950: '#000000',
  },
}
SCSS
$custom: #9d9520;
$custom-light: #beb367;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9520",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 56.16,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65669,
    "c": 0.12984,
    "h": 105.3
  },
  "luminance": 0.28767
}

Semantic roles & 50–950 ramp

primary
#9D9520
secondary
#575EC1
accent
#4AE93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9520

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

Preview Lab → · Contrast checker → · Palette generator →

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