#9E9F20#9E9F20

#9E9F20 is a light, vivid yellow. Relative luminance 0.322; OKLCH L 68.0% C 0.139 H 110.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9E9F20
RGBrgb(158, 159, 32)
HSLhsl(60, 66%, 37%)
HSVhsv(60, 80%, 62%)
CMYKcmyk(0.6%, 0%, 79.9%, 37.6%)
CIE-LABlab(63.48, -14.89, 60.24)
CIE-LCHlch(63.48, 62.05, 103.89°)
OKLaboklab(68.01% -0.0478 0.1308)
OKLCHoklch(68.01% 0.139 110.1)
XYZxyz(26.7604, 32.1705, 6.1661)
Luminance0.3217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9F20 #21209F
analogous
#9F6020 #9E9F20 #5F9F20
triadic
#9E9F20 #209E9F #9F209E
tetradic
#9E9F20 #209F60 #21209F #9F205F
square
#9E9F20 #209F60 #21209F #9F205F
split-complementary
#9E9F20 #205F9F #60209F
monochromatic
#39390B #6B6C16 #9E9F20 #D1D22A #DDDE5B

Accessibility & contrast

On white

2.82
#9E9F20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#9E9F20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9F20
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9F20#FFFFFF#000000##000000
##9E9F201.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#AE9B2C
Tritanopia (blue-blind)
#AA9488
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9e9f20;
/* rgb */ color: rgb(158, 159, 32);
/* oklch */ color: oklch(68.0% 0.139 110.1);
Tailwind
colors: {
  custom: {
    50: '#bebb68',
    500: '#9e9f20',
    950: '#000000',
  },
}
SCSS
$custom: #9e9f20;
$custom-light: #bebb68;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9f20",
  "rgb": {
    "r": 158,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 60.472,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6801,
    "c": 0.13924,
    "h": 110.1
  },
  "luminance": 0.3217
}

Semantic roles & 50–950 ramp

primary
#9E9F20
secondary
#5959C2
accent
#3EE940
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9E9F20

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

Preview Lab → · Contrast checker → · Palette generator →

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