#9EA42E#9EA42E

#9EA42E 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#9EA42E
RGBrgb(158, 164, 46)
HSLhsl(63, 56%, 41%)
HSVhsv(63, 72%, 64%)
CMYKcmyk(3.7%, 0%, 72%, 35.7%)
CIE-LABlab(64.98, -16.86, 56.97)
CIE-LCHlch(64.98, 59.41, 106.49°)
OKLaboklab(69.23% -0.052 0.1264)
OKLCHoklch(69.23% 0.137 112.4)
XYZxyz(27.8700, 34.0179, 7.6822)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA42E #342EA4
analogous
#A46F2E #9EA42E #63A42E
triadic
#9EA42E #2E9EA4 #A42E9E
tetradic
#9EA42E #2EA46F #342EA4 #A42E63
square
#9EA42E #2EA46F #342EA4 #A42E63
split-complementary
#9EA42E #2E63A4 #6F2EA4
monochromatic
#424413 #707421 #9EA42E #C4CB45 #D3D874

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA42E#FFFFFF#000000##000000
##9EA42E1.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)
#B19C19
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#A99A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea42e;
/* rgb */ color: rgb(158, 164, 46);
/* oklch */ color: oklch(69.2% 0.137 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebe6f',
    500: '#9ea42e',
    950: '#000000',
  },
}
SCSS
$custom: #9ea42e;
$custom-light: #bebe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea42e",
  "rgb": {
    "r": 158,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 63.051,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69229,
    "c": 0.13671,
    "h": 112.4
  },
  "luminance": 0.34017
}

Semantic roles & 50–950 ramp

primary
#9EA42E
secondary
#726EC0
accent
#48DF50
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA42E

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

Preview Lab → · Contrast checker → · Palette generator →

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