#9EA42F#9EA42F

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

Color values

HEX#9EA42F
RGBrgb(158, 164, 47)
HSLhsl(63, 55%, 41%)
HSVhsv(63, 71%, 64%)
CMYKcmyk(3.7%, 0%, 71.3%, 35.7%)
CIE-LABlab(64.98, -16.81, 56.61)
CIE-LCHlch(64.98, 59.05, 106.54°)
OKLaboklab(69.24% -0.0518 0.1258)
OKLCHoklch(69.24% 0.136 112.4)
XYZxyz(27.8900, 34.0259, 7.7872)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA42F #352FA4
analogous
#A4702F #9EA42F #64A42F
triadic
#9EA42F #2F9EA4 #A42F9E
tetradic
#9EA42F #2FA470 #352FA4 #A42F64
square
#9EA42F #2FA470 #352FA4 #A42F64
split-complementary
#9EA42F #2F64A4 #702FA4
monochromatic
#424514 #707421 #9EA42F #C3CA46 #D3D876

Accessibility & contrast

On white

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

On black

7.81
#9EA42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA42F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA42F#FFFFFF#000000##000000
##9EA42F1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ea42f;
/* rgb */ color: rgb(158, 164, 47);
/* oklch */ color: oklch(69.2% 0.136 112.4);
Tailwind
colors: {
  custom: {
    50: '#bebe70',
    500: '#9ea42f',
    950: '#000000',
  },
}
SCSS
$custom: #9ea42f;
$custom-light: #bebe70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea42f",
  "rgb": {
    "r": 158,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 63.077,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69236,
    "c": 0.13607,
    "h": 112.4
  },
  "luminance": 0.34025
}

Semantic roles & 50–950 ramp

primary
#9EA42F
secondary
#736FC0
accent
#49DF51
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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