#9EA142#9EA142

#9EA142 is a light, moderate yellow. Relative luminance 0.332; OKLCH L 68.7% C 0.118 H 110.8°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9EA142
RGBrgb(158, 161, 66)
HSLhsl(62, 42%, 45%)
HSVhsv(62, 59%, 63%)
CMYKcmyk(1.9%, 0%, 59%, 36.9%)
CIE-LABlab(64.28, -14.04, 47.93)
CIE-LCHlch(64.28, 49.94, 106.33°)
OKLaboklab(68.73% -0.042 0.1104)
OKLCHoklch(68.73% 0.118 110.8)
XYZxyz(27.8295, 33.1528, 10.0863)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA142 #4542A1
analogous
#A17542 #9EA142 #6FA142
triadic
#9EA142 #429EA1 #A1429E
tetradic
#9EA142 #42A175 #4542A1 #A1426F
square
#9EA142 #42A175 #4542A1 #A1426F
split-complementary
#9EA142 #426FA1 #7542A1
monochromatic
#494A1E #737630 #9EA142 #BCBF62 #CED08D

Accessibility & contrast

On white

2.75
#9EA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#9EA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA142
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA142#FFFFFF#000000##000000
##9EA1421.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A37
Deuteranopia (green-blind)
#AD9D48
Tritanopia (blue-blind)
#A8988D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ea142;
/* rgb */ color: rgb(158, 161, 66);
/* oklch */ color: oklch(68.7% 0.118 110.8);
Tailwind
colors: {
  custom: {
    50: '#bdbc7a',
    500: '#9ea142',
    950: '#000000',
  },
}
SCSS
$custom: #9ea142;
$custom-light: #bdbc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea142",
  "rgb": {
    "r": 158,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 61.895,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68725,
    "c": 0.11814,
    "h": 110.8
  },
  "luminance": 0.33152
}

Semantic roles & 50–950 ramp

primary
#9EA142
secondary
#8583BB
accent
#56D25A
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9EA142

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

Preview Lab → · Contrast checker → · Palette generator →

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