#9EAC20#9EAC20

#9EAC20 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.153 H 115.6°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#9EAC20
RGBrgb(158, 172, 32)
HSLhsl(66, 69%, 40%)
HSVhsv(66, 81%, 67%)
CMYKcmyk(8.1%, 0%, 81.4%, 32.5%)
CIE-LABlab(67.19, -21.51, 63.49)
CIE-LCHlch(67.19, 67.04, 108.72°)
OKLaboklab(70.98% -0.0661 0.1378)
OKLCHoklch(70.98% 0.153 115.6)
XYZxyz(29.1146, 36.8789, 6.9508)
Luminance0.3688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC20 #2E20AC
analogous
#AC7420 #9EAC20 #58AC20
triadic
#9EAC20 #209EAC #AC209E
tetradic
#9EAC20 #20AC74 #2E20AC #AC2058
square
#9EAC20 #20AC74 #2E20AC #AC2058
split-complementary
#9EAC20 #2058AC #7420AC
monochromatic
#3F450D #6F7816 #9EAC20 #C8D931 #D6E264

Accessibility & contrast

On white

2.51
#9EAC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#9EAC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAC20
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAC20#FFFFFF#000000##000000
##9EAC201.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A52E
Tritanopia (blue-blind)
#A9A293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac20;
/* rgb */ color: rgb(158, 172, 32);
/* oklch */ color: oklch(71.0% 0.153 115.6);
Tailwind
colors: {
  custom: {
    50: '#bec46a',
    500: '#9eac20',
    950: '#000000',
  },
}
SCSS
$custom: #9eac20;
$custom-light: #bec46a;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac20",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 66,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.70977,
    "c": 0.1528,
    "h": 115.6
  },
  "luminance": 0.36878
}

Semantic roles & 50–950 ramp

primary
#9EAC20
secondary
#6B60C7
accent
#3CEB4E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAC20

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

Preview Lab → · Contrast checker → · Palette generator →

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