#9EAA20#9EAA20

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

Color values

HEX#9EAA20
RGBrgb(158, 170, 32)
HSLhsl(65, 68%, 40%)
HSVhsv(65, 81%, 67%)
CMYKcmyk(7.1%, 0%, 81.2%, 33.3%)
CIE-LABlab(66.61, -20.51, 62.99)
CIE-LCHlch(66.61, 66.25, 108.03°)
OKLaboklab(70.52% -0.0633 0.1367)
OKLCHoklch(70.52% 0.151 114.9)
XYZxyz(28.7369, 36.1234, 6.8249)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAA20 #2C20AA
analogous
#AA7120 #9EAA20 #59AA20
triadic
#9EAA20 #209EAA #AA209E
tetradic
#9EAA20 #20AA71 #2C20AA #AA2059
square
#9EAA20 #20AA71 #2C20AA #AA2059
split-complementary
#9EAA20 #2059AA #7120AA
monochromatic
#3E430D #6E7616 #9EAA20 #C9D82F #D7E263

Accessibility & contrast

On white

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

On black

8.22
#9EAA20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAA20
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAA20#FFFFFF#000000##000000
##9EAA201.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eaa20;
/* rgb */ color: rgb(158, 170, 32);
/* oklch */ color: oklch(70.5% 0.151 114.9);
Tailwind
colors: {
  custom: {
    50: '#bec369',
    500: '#9eaa20',
    950: '#000000',
  },
}
SCSS
$custom: #9eaa20;
$custom-light: #bec369;
$custom-dark: #000000;
JSON
{
  "hex": "#9eaa20",
  "rgb": {
    "r": 158,
    "g": 170,
    "b": 32
  },
  "hsl": {
    "h": 65.217,
    "s": 68.317,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70518,
    "c": 0.15064,
    "h": 114.9
  },
  "luminance": 0.36123
}

Semantic roles & 50–950 ramp

primary
#9EAA20
secondary
#685FC7
accent
#3DEB4C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAA20

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

Preview Lab → · Contrast checker → · Palette generator →

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