#9EAB2A#9EAB2A

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

Color values

HEX#9EAB2A
RGBrgb(158, 171, 42)
HSLhsl(66, 61%, 42%)
HSVhsv(66, 75%, 67%)
CMYKcmyk(7.6%, 0%, 75.4%, 32.9%)
CIE-LABlab(66.95, -20.61, 60.25)
CIE-LCHlch(66.95, 63.68, 108.88°)
OKLaboklab(70.8% -0.0628 0.1326)
OKLCHoklch(70.8% 0.147 115.3)
XYZxyz(29.0822, 36.5626, 7.7153)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAB2A #372AAB
analogous
#AB782A #9EAB2A #5DAB2A
triadic
#9EAB2A #2A9EAB #AB2A9E
tetradic
#9EAB2A #2AAB78 #372AAB #AB2A5D
square
#9EAB2A #2AAB78 #372AAB #AB2A5D
split-complementary
#9EAB2A #2A5DAB #782AAB
monochromatic
#434912 #717A1E #9EAB2A #C2D142 #D2DD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAB2A#FFFFFF#000000##000000
##9EAB2A1.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)
#B7A20B
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#A8A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9eab2a;
/* rgb */ color: rgb(158, 171, 42);
/* oklch */ color: oklch(70.8% 0.147 115.3);
Tailwind
colors: {
  custom: {
    50: '#bec36e',
    500: '#9eab2a',
    950: '#000000',
  },
}
SCSS
$custom: #9eab2a;
$custom-light: #bec36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9eab2a",
  "rgb": {
    "r": 158,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 66.047,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70801,
    "c": 0.14676,
    "h": 115.3
  },
  "luminance": 0.36562
}

Semantic roles & 50–950 ramp

primary
#9EAB2A
secondary
#766DC4
accent
#44E454
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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