#9EA42D#9EA42D

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

Color values

HEX#9EA42D
RGBrgb(158, 164, 45)
HSLhsl(63, 57%, 41%)
HSVhsv(63, 73%, 64%)
CMYKcmyk(3.7%, 0%, 72.6%, 35.7%)
CIE-LABlab(64.97, -16.91, 57.33)
CIE-LCHlch(64.97, 59.77, 106.44°)
OKLaboklab(69.22% -0.0523 0.127)
OKLCHoklch(69.22% 0.137 112.4)
XYZxyz(27.8505, 34.0101, 7.5796)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA42D #332DA4
analogous
#A46E2D #9EA42D #62A42D
triadic
#9EA42D #2D9EA4 #A42D9E
tetradic
#9EA42D #2DA46E #332DA4 #A42D62
square
#9EA42D #2DA46E #332DA4 #A42D62
split-complementary
#9EA42D #2D62A4 #6E2DA4
monochromatic
#414413 #707420 #9EA42D #C4CB43 #D3D973

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA42D#FFFFFF#000000##000000
##9EA42D1.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)
#B19C17
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#A99A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea42d;
/* rgb */ color: rgb(158, 164, 45);
/* oklch */ color: oklch(69.2% 0.137 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebe6f',
    500: '#9ea42d',
    950: '#000000',
  },
}
SCSS
$custom: #9ea42d;
$custom-light: #bebe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea42d",
  "rgb": {
    "r": 158,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 63.025,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69222,
    "c": 0.13733,
    "h": 112.4
  },
  "luminance": 0.34009
}

Semantic roles & 50–950 ramp

primary
#9EA42D
secondary
#716DC0
accent
#48E04F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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