#9EB478#9EB478

#9EB478 is a light, moderate yellow-green. Relative luminance 0.413; OKLCH L 73.8% C 0.085 H 124.8°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#9EB478
RGBrgb(158, 180, 120)
HSLhsl(82, 29%, 59%)
HSVhsv(82, 33%, 71%)
CMYKcmyk(12.2%, 0%, 33.3%, 29.4%)
CIE-LABlab(70.36, -17.97, 28.17)
CIE-LCHlch(70.36, 33.42, 122.54°)
OKLaboklab(73.82% -0.0488 0.0701)
OKLCHoklch(73.82% 0.085 124.8)
XYZxyz(33.8116, 41.2675, 23.9498)
Luminance0.4127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB478 #8E78B4
analogous
#B4AC78 #9EB478 #80B478
triadic
#9EB478 #789EB4 #B4789E
tetradic
#9EB478 #78B4AC #8E78B4 #B47880
square
#9EB478 #78B4AC #8E78B4 #B47880
split-complementary
#9EB478 #7880B4 #AC78B4
monochromatic
#60723F #809A55 #9EB478 #BACA9F #D7E0C7

Accessibility & contrast

On white

2.27
#9EB478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#9EB478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB478
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB478#FFFFFF#000000##000000
##9EB4781.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAD74
Deuteranopia (green-blind)
#B7AC7B
Tritanopia (blue-blind)
#A2AEA5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9eb478;
/* rgb */ color: rgb(158, 180, 120);
/* oklch */ color: oklch(73.8% 0.085 124.8);
Tailwind
colors: {
  custom: {
    50: '#bbca9f',
    500: '#9eb478',
    950: '#000000',
  },
}
SCSS
$custom: #9eb478;
$custom-light: #bbca9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb478",
  "rgb": {
    "r": 158,
    "g": 180,
    "b": 120
  },
  "hsl": {
    "h": 82,
    "s": 28.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.73816,
    "c": 0.08543,
    "h": 124.8
  },
  "luminance": 0.41268
}

Semantic roles & 50–950 ramp

primary
#9EB478
secondary
#C1B8D0
accent
#63C587
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #9EB478

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

Preview Lab → · Contrast checker → · Palette generator →

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