#9EAC27#9EAC27

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

Color values

HEX#9EAC27
RGBrgb(158, 172, 39)
HSLhsl(66, 63%, 41%)
HSVhsv(66, 77%, 67%)
CMYKcmyk(8.1%, 0%, 77.3%, 32.5%)
CIE-LABlab(67.22, -21.24, 61.47)
CIE-LCHlch(67.22, 65.04, 109.06°)
OKLaboklab(71.01% -0.0648 0.1347)
OKLCHoklch(71.01% 0.149 115.7)
XYZxyz(29.2201, 36.9211, 7.5063)
Luminance0.3692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC27 #3527AC
analogous
#AC7827 #9EAC27 #5CAC27
triadic
#9EAC27 #279EAC #AC279E
tetradic
#9EAC27 #27AC78 #3527AC #AC275C
square
#9EAC27 #27AC78 #3527AC #AC275C
split-complementary
#9EAC27 #275CAC #7827AC
monochromatic
#424810 #707A1C #9EAC27 #C3D33D #D3DE6F

Accessibility & contrast

On white

2.50
#9EAC27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAC27#FFFFFF#000000##000000
##9EAC271.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A301
Deuteranopia (green-blind)
#B7A533
Tritanopia (blue-blind)
#A8A293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac27;
/* rgb */ color: rgb(158, 172, 39);
/* oklch */ color: oklch(71.0% 0.149 115.7);
Tailwind
colors: {
  custom: {
    50: '#bec46d',
    500: '#9eac27',
    950: '#000000',
  },
}
SCSS
$custom: #9eac27;
$custom-light: #bec46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac27",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 66.316,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71013,
    "c": 0.14948,
    "h": 115.7
  },
  "luminance": 0.36921
}

Semantic roles & 50–950 ramp

primary
#9EAC27
secondary
#736AC5
accent
#42E653
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAC27

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

Preview Lab → · Contrast checker → · Palette generator →

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