#9E9E20#9E9E20

#9E9E20 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.8% C 0.138 H 109.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9E9E20
RGBrgb(158, 158, 32)
HSLhsl(60, 66%, 37%)
HSVhsv(60, 80%, 62%)
CMYKcmyk(0%, 0%, 79.7%, 38%)
CIE-LABlab(63.20, -14.37, 59.99)
CIE-LCHlch(63.20, 61.68, 103.47°)
OKLaboklab(67.78% -0.0463 0.1303)
OKLCHoklch(67.78% 0.138 109.6)
XYZxyz(26.5891, 31.8279, 6.1090)
Luminance0.3183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9E20 #20209E
analogous
#9E5F20 #9E9E20 #5F9E20
triadic
#9E9E20 #209E9E #9E209E
tetradic
#9E9E20 #209E5F #20209E #9E205F
square
#9E9E20 #209E5F #20209E #9E205F
split-complementary
#9E9E20 #205F9E #5F209E
monochromatic
#38380B #6B6B16 #9E9E20 #D1D12A #DEDE5B

Accessibility & contrast

On white

2.85
#9E9E20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#9E9E20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9E20
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9E20#FFFFFF#000000##000000
##9E9E201.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e9e20;
/* rgb */ color: rgb(158, 158, 32);
/* oklch */ color: oklch(67.8% 0.138 109.6);
Tailwind
colors: {
  custom: {
    50: '#beba68',
    500: '#9e9e20',
    950: '#000000',
  },
}
SCSS
$custom: #9e9e20;
$custom-light: #beba68;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9e20",
  "rgb": {
    "r": 158,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67784,
    "c": 0.13825,
    "h": 109.6
  },
  "luminance": 0.31827
}

Semantic roles & 50–950 ramp

primary
#9E9E20
secondary
#5858C2
accent
#3FE93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9E20

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

Preview Lab → · Contrast checker → · Palette generator →

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