#9EAB2B#9EAB2B

#9EAB2B is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.8% C 0.146 H 115.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#9EAB2B
RGBrgb(158, 171, 43)
HSLhsl(66, 60%, 42%)
HSVhsv(66, 75%, 67%)
CMYKcmyk(7.6%, 0%, 74.9%, 32.9%)
CIE-LABlab(66.95, -20.56, 59.92)
CIE-LCHlch(66.95, 63.35, 108.94°)
OKLaboklab(70.81% -0.0626 0.1321)
OKLCHoklch(70.81% 0.146 115.3)
XYZxyz(29.1003, 36.5698, 7.8107)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAB2B #382BAB
analogous
#AB782B #9EAB2B #5EAB2B
triadic
#9EAB2B #2B9EAB #AB2B9E
tetradic
#9EAB2B #2BAB78 #382BAB #AB2B5E
square
#9EAB2B #2BAB78 #382BAB #AB2B5E
split-complementary
#9EAB2B #2B5EAB #782BAB
monochromatic
#444912 #717A1F #9EAB2B #C2D043 #D2DC74

Accessibility & contrast

On white

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

On black

8.31
#9EAB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAB2B
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAB2B#FFFFFF#000000##000000
##9EAB2B1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20E
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#A8A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9eab2b;
/* rgb */ color: rgb(158, 171, 43);
/* oklch */ color: oklch(70.8% 0.146 115.3);
Tailwind
colors: {
  custom: {
    50: '#bec36e',
    500: '#9eab2b',
    950: '#000000',
  },
}
SCSS
$custom: #9eab2b;
$custom-light: #bec36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eab2b",
  "rgb": {
    "r": 158,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 66.094,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70807,
    "c": 0.1462,
    "h": 115.3
  },
  "luminance": 0.36569
}

Semantic roles & 50–950 ramp

primary
#9EAB2B
secondary
#776EC4
accent
#45E355
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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