#9EAC2A#9EAC2A

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

Color values

HEX#9EAC2A
RGBrgb(158, 172, 42)
HSLhsl(66, 61%, 42%)
HSVhsv(66, 76%, 67%)
CMYKcmyk(8.1%, 0%, 75.6%, 32.5%)
CIE-LABlab(67.23, -21.11, 60.52)
CIE-LCHlch(67.23, 64.09, 109.23°)
OKLaboklab(71.03% -0.0642 0.1332)
OKLCHoklch(71.03% 0.148 115.7)
XYZxyz(29.2718, 36.9418, 7.7785)
Luminance0.3694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC2A #382AAC
analogous
#AC792A #9EAC2A #5DAC2A
triadic
#9EAC2A #2A9EAC #AC2A9E
tetradic
#9EAC2A #2AAC79 #382AAC #AC2A5D
square
#9EAC2A #2AAC79 #382AAC #AC2A5D
split-complementary
#9EAC2A #2A5DAC #792AAC
monochromatic
#444A12 #717B1E #9EAC2A #C2D142 #D2DD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAC2A#FFFFFF#000000##000000
##9EAC2A1.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)
#B8A30A
Deuteranopia (green-blind)
#B7A535
Tritanopia (blue-blind)
#A8A293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac2a;
/* rgb */ color: rgb(158, 172, 42);
/* oklch */ color: oklch(71.0% 0.148 115.7);
Tailwind
colors: {
  custom: {
    50: '#bec46e',
    500: '#9eac2a',
    950: '#000000',
  },
}
SCSS
$custom: #9eac2a;
$custom-light: #bec46e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac2a",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 66.462,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.7103,
    "c": 0.14787,
    "h": 115.7
  },
  "luminance": 0.36941
}

Semantic roles & 50–950 ramp

primary
#9EAC2A
secondary
#776DC4
accent
#44E455
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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