#9E9D20#9E9D20

#9E9D20 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.6% C 0.137 H 109.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9E9D20
RGBrgb(158, 157, 32)
HSLhsl(60, 66%, 37%)
HSVhsv(60, 80%, 62%)
CMYKcmyk(0%, 0.6%, 79.7%, 38%)
CIE-LABlab(62.92, -13.85, 59.74)
CIE-LCHlch(62.92, 61.32, 103.06°)
OKLaboklab(67.56% -0.0449 0.1297)
OKLCHoklch(67.56% 0.137 109.1)
XYZxyz(26.4193, 31.4882, 6.0524)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9D20 #20219E
analogous
#9E5E20 #9E9D20 #609E20
triadic
#9E9D20 #209E9D #9D209E
tetradic
#9E9D20 #209E5E #20219E #9E2060
square
#9E9D20 #209E5E #20219E #9E2060
split-complementary
#9E9D20 #20609E #5E209E
monochromatic
#38380B #6B6A16 #9E9D20 #D1D02A #DEDD5B

Accessibility & contrast

On white

2.88
#9E9D20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#9E9D20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9D20
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9D20#FFFFFF#000000##000000
##9E9D201.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e9d20;
/* rgb */ color: rgb(158, 157, 32);
/* oklch */ color: oklch(67.6% 0.137 109.1);
Tailwind
colors: {
  custom: {
    50: '#beb968',
    500: '#9e9d20',
    950: '#000000',
  },
}
SCSS
$custom: #9e9d20;
$custom-light: #beb968;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9d20",
  "rgb": {
    "r": 158,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 59.524,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67558,
    "c": 0.13726,
    "h": 109.1
  },
  "luminance": 0.31487
}

Semantic roles & 50–950 ramp

primary
#9E9D20
secondary
#5859C2
accent
#40E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9D20

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

Preview Lab → · Contrast checker → · Palette generator →

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