#9EA342#9EA342

#9EA342 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.120 H 111.9°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9EA342
RGBrgb(158, 163, 66)
HSLhsl(63, 42%, 45%)
HSVhsv(63, 60%, 64%)
CMYKcmyk(3.1%, 0%, 59.5%, 36.1%)
CIE-LABlab(64.85, -15.08, 48.55)
CIE-LCHlch(64.85, 50.84, 107.25°)
OKLaboklab(69.18% -0.0449 0.1118)
OKLCHoklch(69.18% 0.12 111.9)
XYZxyz(28.1818, 33.8574, 10.2038)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA342 #4742A3
analogous
#A37842 #9EA342 #6DA342
triadic
#9EA342 #429EA3 #A3429E
tetradic
#9EA342 #42A378 #4742A3 #A3426D
square
#9EA342 #42A378 #4742A3 #A3426D
split-complementary
#9EA342 #426DA3 #7842A3
monochromatic
#4A4C1F #747730 #9EA342 #BBC063 #CED18E

Accessibility & contrast

On white

2.70
#9EA342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#9EA342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA342
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA342#FFFFFF#000000##000000
##9EA3421.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C37
Deuteranopia (green-blind)
#AF9F48
Tritanopia (blue-blind)
#A89A8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ea342;
/* rgb */ color: rgb(158, 163, 66);
/* oklch */ color: oklch(69.2% 0.120 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbe7a',
    500: '#9ea342',
    950: '#000000',
  },
}
SCSS
$custom: #9ea342;
$custom-light: #bdbe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea342",
  "rgb": {
    "r": 158,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 63.093,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69177,
    "c": 0.12045,
    "h": 111.9
  },
  "luminance": 0.33857
}

Semantic roles & 50–950 ramp

primary
#9EA342
secondary
#8784BC
accent
#56D25C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9EA342

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

Preview Lab → · Contrast checker → · Palette generator →

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