#9EAC2E#9EAC2E

#9EAC2E is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.146 H 115.8°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#9EAC2E
RGBrgb(158, 172, 46)
HSLhsl(67, 58%, 43%)
HSVhsv(67, 73%, 67%)
CMYKcmyk(8.1%, 0%, 73.3%, 32.5%)
CIE-LABlab(67.26, -20.92, 59.17)
CIE-LCHlch(67.26, 62.76, 109.47°)
OKLaboklab(71.06% -0.0633 0.1311)
OKLCHoklch(71.06% 0.146 115.8)
XYZxyz(29.3470, 36.9719, 8.1745)
Luminance0.3697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC2E #3C2EAC
analogous
#AC7B2E #9EAC2E #5FAC2E
triadic
#9EAC2E #2E9EAC #AC2E9E
tetradic
#9EAC2E #2EAC7B #3C2EAC #AC2E5F
square
#9EAC2E #2EAC7B #3C2EAC #AC2E5F
split-complementary
#9EAC2E #2E5FAC #7B2EAC
monochromatic
#454B14 #727C21 #9EAC2E #BFCE49 #D0DB79

Accessibility & contrast

On white

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

On black

8.39
#9EAC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAC2E
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAC2E#FFFFFF#000000##000000
##9EAC2E1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A315
Deuteranopia (green-blind)
#B7A538
Tritanopia (blue-blind)
#A8A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac2e;
/* rgb */ color: rgb(158, 172, 46);
/* oklch */ color: oklch(71.1% 0.146 115.8);
Tailwind
colors: {
  custom: {
    50: '#bec470',
    500: '#9eac2e',
    950: '#000000',
  },
}
SCSS
$custom: #9eac2e;
$custom-light: #bec470;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac2e",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 66.667,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71056,
    "c": 0.14556,
    "h": 115.8
  },
  "luminance": 0.36971
}

Semantic roles & 50–950 ramp

primary
#9EAC2E
secondary
#7B72C3
accent
#47E158
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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