#9E9A20#9E9A20

#9E9A20 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.9% C 0.134 H 107.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9E9A20
RGBrgb(158, 154, 32)
HSLhsl(58, 66%, 37%)
HSVhsv(58, 80%, 62%)
CMYKcmyk(0%, 2.5%, 79.7%, 38%)
CIE-LABlab(62.07, -12.28, 58.99)
CIE-LCHlch(62.07, 60.25, 101.76°)
OKLaboklab(66.88% -0.0405 0.1281)
OKLCHoklch(66.88% 0.134 107.5)
XYZxyz(25.9179, 30.4855, 5.8853)
Luminance0.3049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9A20 #20249E
analogous
#9E5B20 #9E9A20 #639E20
triadic
#9E9A20 #209E9A #9A209E
tetradic
#9E9A20 #209E5B #20249E #9E2063
square
#9E9A20 #209E5B #20249E #9E2063
split-complementary
#9E9A20 #20639E #5B209E
monochromatic
#38370B #6B6816 #9E9A20 #D1CC2A #DEDA5B

Accessibility & contrast

On white

2.96
#9E9A20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#9E9A20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9A20
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9A20#FFFFFF#000000##000000
##9E9A201.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AA982B
Tritanopia (blue-blind)
#AA8F84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9e9a20;
/* rgb */ color: rgb(158, 154, 32);
/* oklch */ color: oklch(66.9% 0.134 107.5);
Tailwind
colors: {
  custom: {
    50: '#beb767',
    500: '#9e9a20',
    950: '#000000',
  },
}
SCSS
$custom: #9e9a20;
$custom-light: #beb767;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9a20",
  "rgb": {
    "r": 158,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 58.095,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66882,
    "c": 0.13435,
    "h": 107.5
  },
  "luminance": 0.30485
}

Semantic roles & 50–950 ramp

primary
#9E9A20
secondary
#585BC2
accent
#44E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9A20

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

Preview Lab → · Contrast checker → · Palette generator →

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