#9EA478#9EA478

#9EA478 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.2% C 0.061 H 114.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9EA478
RGBrgb(158, 164, 120)
HSLhsl(68, 19%, 56%)
HSVhsv(68, 27%, 64%)
CMYKcmyk(3.7%, 0%, 26.8%, 35.7%)
CIE-LABlab(65.89, -9.65, 22.18)
CIE-LCHlch(65.89, 24.19, 113.51°)
OKLaboklab(70.25% -0.0253 0.0559)
OKLCHoklch(70.25% 0.061 114.3)
XYZxyz(30.7660, 35.1763, 22.9346)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA478 #7E78A4
analogous
#A49478 #9EA478 #88A478
triadic
#9EA478 #789EA4 #A4789E
tetradic
#9EA478 #78A494 #7E78A4 #A47888
square
#9EA478 #78A494 #7E78A4 #A47888
split-complementary
#9EA478 #7888A4 #9478A4
monochromatic
#5C6141 #7F855A #9EA478 #B8BD9D #D3D5C1

Accessibility & contrast

On white

2.61
#9EA478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9EA478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA478
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA478#FFFFFF#000000##000000
##9EA4781.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAA075
Deuteranopia (green-blind)
#AAA17A
Tritanopia (blue-blind)
#A39F98
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea478;
/* rgb */ color: rgb(158, 164, 120);
/* oklch */ color: oklch(70.2% 0.061 114.3);
Tailwind
colors: {
  custom: {
    50: '#bbbf9f',
    500: '#9ea478',
    950: '#000000',
  },
}
SCSS
$custom: #9ea478;
$custom-light: #bbbf9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea478",
  "rgb": {
    "r": 158,
    "g": 164,
    "b": 120
  },
  "hsl": {
    "h": 68.182,
    "s": 19.469,
    "l": 55.686
  },
  "oklch": {
    "l": 0.70248,
    "c": 0.06134,
    "h": 114.3
  },
  "luminance": 0.35176
}

Semantic roles & 50–950 ramp

primary
#9EA478
secondary
#B5B3C5
accent
#6CBC77
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9EA478

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

Preview Lab → · Contrast checker → · Palette generator →

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