#9D9E20#9D9E20

#9D9E20 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.138 H 110.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9D9E20
RGBrgb(157, 158, 32)
HSLhsl(60, 66%, 37%)
HSVhsv(60, 80%, 62%)
CMYKcmyk(0.6%, 0%, 79.7%, 38%)
CIE-LABlab(63.12, -14.82, 59.88)
CIE-LCHlch(63.12, 61.69, 103.90°)
OKLaboklab(67.7% -0.0475 0.1301)
OKLCHoklch(67.7% 0.138 110.1)
XYZxyz(26.3932, 31.7269, 6.0998)
Luminance0.3173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9E20 #21209E
analogous
#9E6020 #9D9E20 #5E9E20
triadic
#9D9E20 #209D9E #9E209D
tetradic
#9D9E20 #209E60 #21209E #9E205E
square
#9D9E20 #209E60 #21209E #9E205E
split-complementary
#9D9E20 #205E9E #60209E
monochromatic
#38380B #6A6B16 #9D9E20 #D0D12A #DDDE5B

Accessibility & contrast

On white

2.86
#9D9E20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#9D9E20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9E20
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9E20#FFFFFF#000000##000000
##9D9E201.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2C
Tritanopia (blue-blind)
#A99487
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9e20;
/* rgb */ color: rgb(157, 158, 32);
/* oklch */ color: oklch(67.7% 0.138 110.1);
Tailwind
colors: {
  custom: {
    50: '#beba68',
    500: '#9d9e20',
    950: '#000000',
  },
}
SCSS
$custom: #9d9e20;
$custom-light: #beba68;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9e20",
  "rgb": {
    "r": 157,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 60.476,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67696,
    "c": 0.13847,
    "h": 110.1
  },
  "luminance": 0.31726
}

Semantic roles & 50–950 ramp

primary
#9D9E20
secondary
#5958C2
accent
#3FE940
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9E20

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

Preview Lab → · Contrast checker → · Palette generator →

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