#9EA42C#9EA42C

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

Color values

HEX#9EA42C
RGBrgb(158, 164, 44)
HSLhsl(63, 58%, 41%)
HSVhsv(63, 73%, 64%)
CMYKcmyk(3.7%, 0%, 73.2%, 35.7%)
CIE-LABlab(64.96, -16.96, 57.68)
CIE-LCHlch(64.96, 60.13, 106.39°)
OKLaboklab(69.22% -0.0525 0.1276)
OKLCHoklch(69.22% 0.138 112.4)
XYZxyz(27.8315, 34.0025, 7.4794)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA42C #322CA4
analogous
#A46E2C #9EA42C #62A42C
triadic
#9EA42C #2C9EA4 #A42C9E
tetradic
#9EA42C #2CA46E #322CA4 #A42C62
square
#9EA42C #2CA46E #322CA4 #A42C62
split-complementary
#9EA42C #2C62A4 #6E2CA4
monochromatic
#414312 #70741F #9EA42C #C5CC41 #D4D971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9ea42c;
/* rgb */ color: rgb(158, 164, 44);
/* oklch */ color: oklch(69.2% 0.138 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebe6e',
    500: '#9ea42c',
    950: '#000000',
  },
}
SCSS
$custom: #9ea42c;
$custom-light: #bebe6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea42c",
  "rgb": {
    "r": 158,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 63,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.69215,
    "c": 0.13795,
    "h": 112.4
  },
  "luminance": 0.34002
}

Semantic roles & 50–950 ramp

primary
#9EA42C
secondary
#706BC0
accent
#47E14F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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