#9EAB28#9EAB28

#9EAB28 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#9EAB28
RGBrgb(158, 171, 40)
HSLhsl(66, 62%, 41%)
HSVhsv(66, 77%, 67%)
CMYKcmyk(7.6%, 0%, 76.6%, 32.9%)
CIE-LABlab(66.94, -20.70, 60.90)
CIE-LCHlch(66.94, 64.32, 108.77°)
OKLaboklab(70.79% -0.0632 0.1337)
OKLCHoklch(70.79% 0.148 115.3)
XYZxyz(29.0473, 36.5486, 7.5315)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAB28 #3528AB
analogous
#AB7728 #9EAB28 #5DAB28
triadic
#9EAB28 #289EAB #AB289E
tetradic
#9EAB28 #28AB77 #3528AB #AB285D
square
#9EAB28 #28AB77 #3528AB #AB285D
split-complementary
#9EAB28 #285DAB #7728AB
monochromatic
#424811 #70791C #9EAB28 #C3D23E #D3DE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAB28#FFFFFF#000000##000000
##9EAB281.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)
#B7A205
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#A9A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9eab28;
/* rgb */ color: rgb(158, 171, 40);
/* oklch */ color: oklch(70.8% 0.148 115.3);
Tailwind
colors: {
  custom: {
    50: '#bec36d',
    500: '#9eab28',
    950: '#000000',
  },
}
SCSS
$custom: #9eab28;
$custom-light: #bec36d;
$custom-dark: #000000;
JSON
{
  "hex": "#9eab28",
  "rgb": {
    "r": 158,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 65.954,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70789,
    "c": 0.14785,
    "h": 115.3
  },
  "luminance": 0.36548
}

Semantic roles & 50–950 ramp

primary
#9EAB28
secondary
#736AC4
accent
#43E553
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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