#9EAA21#9EAA21

#9EAA21 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.5% C 0.150 H 114.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#9EAA21
RGBrgb(158, 170, 33)
HSLhsl(65, 67%, 40%)
HSVhsv(65, 81%, 67%)
CMYKcmyk(7.1%, 0%, 80.6%, 33.3%)
CIE-LABlab(66.62, -20.47, 62.72)
CIE-LCHlch(66.62, 65.97, 108.08°)
OKLaboklab(70.52% -0.0631 0.1363)
OKLCHoklch(70.52% 0.15 114.9)
XYZxyz(28.7507, 36.1289, 6.8976)
Luminance0.3613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAA21 #2D21AA
analogous
#AA7121 #9EAA21 #5AAA21
triadic
#9EAA21 #219EAA #AA219E
tetradic
#9EAA21 #21AA71 #2D21AA #AA215A
square
#9EAA21 #21AA71 #2D21AA #AA215A
split-complementary
#9EAA21 #215AAA #7121AA
monochromatic
#3F430D #6E7717 #9EAA21 #C9D731 #D6E164

Accessibility & contrast

On white

2.55
#9EAA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#9EAA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAA21
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAA21#FFFFFF#000000##000000
##9EAA211.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#A9A091
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9eaa21;
/* rgb */ color: rgb(158, 170, 33);
/* oklch */ color: oklch(70.5% 0.150 114.9);
Tailwind
colors: {
  custom: {
    50: '#bec36a',
    500: '#9eaa21',
    950: '#000000',
  },
}
SCSS
$custom: #9eaa21;
$custom-light: #bec36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaa21",
  "rgb": {
    "r": 158,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 65.255,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70523,
    "c": 0.1502,
    "h": 114.9
  },
  "luminance": 0.36128
}

Semantic roles & 50–950 ramp

primary
#9EAA21
secondary
#6961C6
accent
#3DEA4D
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAA21

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

Preview Lab → · Contrast checker → · Palette generator →

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