#9EAB27#9EAB27

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

Color values

HEX#9EAB27
RGBrgb(158, 171, 39)
HSLhsl(66, 63%, 41%)
HSVhsv(66, 77%, 67%)
CMYKcmyk(7.6%, 0%, 77.2%, 32.9%)
CIE-LABlab(66.93, -20.74, 61.21)
CIE-LCHlch(66.93, 64.63, 108.72°)
OKLaboklab(70.78% -0.0634 0.1341)
OKLCHoklch(70.78% 0.148 115.3)
XYZxyz(29.0305, 36.5419, 7.4431)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAB27 #3427AB
analogous
#AB7627 #9EAB27 #5CAB27
triadic
#9EAB27 #279EAB #AB279E
tetradic
#9EAB27 #27AB76 #3427AB #AB275C
square
#9EAB27 #27AB76 #3427AB #AB275C
split-complementary
#9EAB27 #275CAB #7627AB
monochromatic
#424710 #70791C #9EAB27 #C4D33D #D3DE6E

Accessibility & contrast

On white

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

On black

8.31
#9EAB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAB27
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAB27#FFFFFF#000000##000000
##9EAB271.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A201
Deuteranopia (green-blind)
#B7A433
Tritanopia (blue-blind)
#A9A192
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9eab27;
/* rgb */ color: rgb(158, 171, 39);
/* oklch */ color: oklch(70.8% 0.148 115.3);
Tailwind
colors: {
  custom: {
    50: '#bec36d',
    500: '#9eab27',
    950: '#000000',
  },
}
SCSS
$custom: #9eab27;
$custom-light: #bec36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9eab27",
  "rgb": {
    "r": 158,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 65.909,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70783,
    "c": 0.14838,
    "h": 115.3
  },
  "luminance": 0.36541
}

Semantic roles & 50–950 ramp

primary
#9EAB27
secondary
#7269C5
accent
#42E652
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAB27

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

Preview Lab → · Contrast checker → · Palette generator →

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