#9EAB20#9EAB20

#9EAB20 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 70.7% C 0.152 H 115.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#9EAB20
RGBrgb(158, 171, 32)
HSLhsl(66, 68%, 40%)
HSVhsv(66, 81%, 67%)
CMYKcmyk(7.6%, 0%, 81.3%, 32.9%)
CIE-LABlab(66.90, -21.01, 63.24)
CIE-LCHlch(66.90, 66.64, 108.38°)
OKLaboklab(70.75% -0.0647 0.1372)
OKLCHoklch(70.75% 0.152 115.2)
XYZxyz(28.9250, 36.4997, 6.8876)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAB20 #2D20AB
analogous
#AB7320 #9EAB20 #58AB20
triadic
#9EAB20 #209EAB #AB209E
tetradic
#9EAB20 #20AB73 #2D20AB #AB2058
square
#9EAB20 #20AB73 #2D20AB #AB2058
split-complementary
#9EAB20 #2058AB #7320AB
monochromatic
#3F440D #6E7716 #9EAB20 #C9D830 #D6E263

Accessibility & contrast

On white

2.53
#9EAB20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#9EAB20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAB20
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAB20#FFFFFF#000000##000000
##9EAB201.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B7A42E
Tritanopia (blue-blind)
#A9A192
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9eab20;
/* rgb */ color: rgb(158, 171, 32);
/* oklch */ color: oklch(70.7% 0.152 115.2);
Tailwind
colors: {
  custom: {
    50: '#bec36a',
    500: '#9eab20',
    950: '#000000',
  },
}
SCSS
$custom: #9eab20;
$custom-light: #bec36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9eab20",
  "rgb": {
    "r": 158,
    "g": 171,
    "b": 32
  },
  "hsl": {
    "h": 65.612,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70748,
    "c": 0.15172,
    "h": 115.2
  },
  "luminance": 0.36499
}

Semantic roles & 50–950 ramp

primary
#9EAB20
secondary
#6960C7
accent
#3CEB4D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAB20

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

Preview Lab → · Contrast checker → · Palette generator →

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