#9EA42B#9EA42B

#9EA42B 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#9EA42B
RGBrgb(158, 164, 43)
HSLhsl(63, 58%, 41%)
HSVhsv(63, 74%, 64%)
CMYKcmyk(3.7%, 0%, 73.8%, 35.7%)
CIE-LABlab(64.96, -17.01, 58.03)
CIE-LCHlch(64.96, 60.47, 106.34°)
OKLaboklab(69.21% -0.0527 0.1281)
OKLCHoklch(69.21% 0.139 112.4)
XYZxyz(27.8129, 33.9951, 7.3816)
Luminance0.3399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA42B #312BA4
analogous
#A46D2B #9EA42B #61A42B
triadic
#9EA42B #2B9EA4 #A42B9E
tetradic
#9EA42B #2BA46D #312BA4 #A42B61
square
#9EA42B #2BA46D #312BA4 #A42B61
split-complementary
#9EA42B #2B61A4 #6D2BA4
monochromatic
#414312 #6F741E #9EA42B #C6CD3F #D4D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA42B#FFFFFF#000000##000000
##9EA42B1.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)
#B19C12
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#A99A8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ea42b;
/* rgb */ color: rgb(158, 164, 43);
/* oklch */ color: oklch(69.2% 0.139 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebe6e',
    500: '#9ea42b',
    950: '#000000',
  },
}
SCSS
$custom: #9ea42b;
$custom-light: #bebe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea42b",
  "rgb": {
    "r": 158,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 62.975,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69208,
    "c": 0.13855,
    "h": 112.4
  },
  "luminance": 0.33994
}

Semantic roles & 50–950 ramp

primary
#9EA42B
secondary
#6E6AC1
accent
#46E24E
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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