#9EA42A#9EA42A

#9EA42A is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.2% C 0.139 H 112.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9EA42A
RGBrgb(158, 164, 42)
HSLhsl(63, 59%, 40%)
HSVhsv(63, 74%, 64%)
CMYKcmyk(3.7%, 0%, 74.4%, 35.7%)
CIE-LABlab(64.95, -17.06, 58.38)
CIE-LCHlch(64.95, 60.82, 106.29°)
OKLaboklab(69.2% -0.0529 0.1287)
OKLCHoklch(69.2% 0.139 112.4)
XYZxyz(27.7948, 33.9878, 7.2862)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA42A #302AA4
analogous
#A46D2A #9EA42A #61A42A
triadic
#9EA42A #2A9EA4 #A42A9E
tetradic
#9EA42A #2AA46D #302AA4 #A42A61
square
#9EA42A #2AA46D #302AA4 #A42A61
split-complementary
#9EA42A #2A61A4 #6D2AA4
monochromatic
#404311 #6F731E #9EA42A #C6CD3E #D5DA6E

Accessibility & contrast

On white

2.69
#9EA42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#9EA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA42A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA42A#FFFFFF#000000##000000
##9EA42A1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C10
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#A99A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea42a;
/* rgb */ color: rgb(158, 164, 42);
/* oklch */ color: oklch(69.2% 0.139 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebe6d',
    500: '#9ea42a',
    950: '#000000',
  },
}
SCSS
$custom: #9ea42a;
$custom-light: #bebe6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea42a",
  "rgb": {
    "r": 158,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 62.951,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69202,
    "c": 0.13914,
    "h": 112.4
  },
  "luminance": 0.33987
}

Semantic roles & 50–950 ramp

primary
#9EA42A
secondary
#6D69C1
accent
#45E24D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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