#9EAB2E#9EAB2E

#9EAB2E is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.8% C 0.144 H 115.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#9EAB2E
RGBrgb(158, 171, 46)
HSLhsl(66, 58%, 43%)
HSVhsv(66, 73%, 67%)
CMYKcmyk(7.6%, 0%, 73.1%, 32.9%)
CIE-LABlab(66.97, -20.42, 58.90)
CIE-LCHlch(66.97, 62.34, 109.12°)
OKLaboklab(70.83% -0.0619 0.1305)
OKLCHoklch(70.83% 0.144 115.4)
XYZxyz(29.1574, 36.5927, 8.1113)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAB2E #3B2EAB
analogous
#AB7A2E #9EAB2E #5FAB2E
triadic
#9EAB2E #2E9EAB #AB2E9E
tetradic
#9EAB2E #2EAB7A #3B2EAB #AB2E5F
square
#9EAB2E #2EAB7A #3B2EAB #AB2E5F
split-complementary
#9EAB2E #2E5FAB #7A2EAB
monochromatic
#454B14 #717B21 #9EAB2E #C0CE48 #D1DB79

Accessibility & contrast

On white

2.52
#9EAB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#9EAB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAB2E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAB2E#FFFFFF#000000##000000
##9EAB2E1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A216
Deuteranopia (green-blind)
#B6A438
Tritanopia (blue-blind)
#A8A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9eab2e;
/* rgb */ color: rgb(158, 171, 46);
/* oklch */ color: oklch(70.8% 0.144 115.4);
Tailwind
colors: {
  custom: {
    50: '#bec370',
    500: '#9eab2e',
    950: '#000000',
  },
}
SCSS
$custom: #9eab2e;
$custom-light: #bec370;
$custom-dark: #000000;
JSON
{
  "hex": "#9eab2e",
  "rgb": {
    "r": 158,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 66.24,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70826,
    "c": 0.14444,
    "h": 115.4
  },
  "luminance": 0.36592
}

Semantic roles & 50–950 ramp

primary
#9EAB2E
secondary
#7A72C3
accent
#47E157
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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