#9E9B20#9E9B20

#9E9B20 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.1% C 0.135 H 108.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9E9B20
RGBrgb(158, 155, 32)
HSLhsl(59, 66%, 37%)
HSVhsv(59, 80%, 62%)
CMYKcmyk(0%, 1.9%, 79.7%, 38%)
CIE-LABlab(62.35, -12.80, 59.24)
CIE-LCHlch(62.35, 60.60, 102.20°)
OKLaboklab(67.11% -0.042 0.1286)
OKLCHoklch(67.11% 0.135 108.1)
XYZxyz(26.0837, 30.8170, 5.9405)
Luminance0.3082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9B20 #20239E
analogous
#9E5C20 #9E9B20 #629E20
triadic
#9E9B20 #209E9B #9B209E
tetradic
#9E9B20 #209E5C #20239E #9E2062
square
#9E9B20 #209E5C #20239E #9E2062
split-complementary
#9E9B20 #20629E #5C209E
monochromatic
#38370B #6B6916 #9E9B20 #D1CD2A #DEDB5B

Accessibility & contrast

On white

2.93
#9E9B20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#9E9B20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9B20
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9B20#FFFFFF#000000##000000
##9E9B201.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AA992B
Tritanopia (blue-blind)
#AA9084
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e9b20;
/* rgb */ color: rgb(158, 155, 32);
/* oklch */ color: oklch(67.1% 0.135 108.1);
Tailwind
colors: {
  custom: {
    50: '#beb867',
    500: '#9e9b20',
    950: '#000000',
  },
}
SCSS
$custom: #9e9b20;
$custom-light: #beb867;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9b20",
  "rgb": {
    "r": 158,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 58.571,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67107,
    "c": 0.13531,
    "h": 108.1
  },
  "luminance": 0.30816
}

Semantic roles & 50–950 ramp

primary
#9E9B20
secondary
#585AC2
accent
#43E93F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9B20

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

Preview Lab → · Contrast checker → · Palette generator →

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