#9EAB22#9EAB22

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

Color values

HEX#9EAB22
RGBrgb(158, 171, 34)
HSLhsl(66, 67%, 40%)
HSVhsv(66, 80%, 67%)
CMYKcmyk(7.6%, 0%, 80.1%, 32.9%)
CIE-LABlab(66.91, -20.94, 62.69)
CIE-LCHlch(66.91, 66.10, 108.47°)
OKLaboklab(70.76% -0.0644 0.1364)
OKLCHoklch(70.76% 0.151 115.3)
XYZxyz(28.9530, 36.5109, 7.0352)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAB22 #2F22AB
analogous
#AB7322 #9EAB22 #5AAB22
triadic
#9EAB22 #229EAB #AB229E
tetradic
#9EAB22 #22AB73 #2F22AB #AB225A
square
#9EAB22 #22AB73 #2F22AB #AB225A
split-complementary
#9EAB22 #225AAB #7322AB
monochromatic
#40450E #6F7818 #9EAB22 #C7D734 #D5E167

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAB22#FFFFFF#000000##000000
##9EAB221.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)
#B7A42F
Tritanopia (blue-blind)
#A9A192
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9eab22;
/* rgb */ color: rgb(158, 171, 34);
/* oklch */ color: oklch(70.8% 0.151 115.3);
Tailwind
colors: {
  custom: {
    50: '#bec36a',
    500: '#9eab22',
    950: '#000000',
  },
}
SCSS
$custom: #9eab22;
$custom-light: #bec36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9eab22",
  "rgb": {
    "r": 158,
    "g": 171,
    "b": 34
  },
  "hsl": {
    "h": 65.693,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70757,
    "c": 0.15083,
    "h": 115.3
  },
  "luminance": 0.3651
}

Semantic roles & 50–950 ramp

primary
#9EAB22
secondary
#6C63C6
accent
#3EEA4E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAB22

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

Preview Lab → · Contrast checker → · Palette generator →

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