#9DB478#9DB478

#9DB478 is a light, moderate yellow-green. Relative luminance 0.412; OKLCH L 73.7% C 0.086 H 125.5°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#9DB478
RGBrgb(157, 180, 120)
HSLhsl(83, 29%, 59%)
HSVhsv(83, 33%, 71%)
CMYKcmyk(12.8%, 0%, 33.3%, 29.4%)
CIE-LABlab(70.29, -18.36, 28.07)
CIE-LCHlch(70.29, 33.54, 123.19°)
OKLaboklab(73.74% -0.0498 0.0699)
OKLCHoklch(73.74% 0.086 125.5)
XYZxyz(33.6157, 41.1665, 23.9406)
Luminance0.4117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB478 #8F78B4
analogous
#B4AD78 #9DB478 #7FB478
triadic
#9DB478 #789DB4 #B4789D
tetradic
#9DB478 #78B4AD #8F78B4 #B4787F
square
#9DB478 #78B4AD #8F78B4 #B4787F
split-complementary
#9DB478 #787FB4 #AD78B4
monochromatic
#5F723F #7F9A55 #9DB478 #BACA9F #D6E0C7

Accessibility & contrast

On white

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

On black

9.23
#9DB478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB478
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB478#FFFFFF#000000##000000
##9DB4781.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9db478;
/* rgb */ color: rgb(157, 180, 120);
/* oklch */ color: oklch(73.7% 0.086 125.5);
Tailwind
colors: {
  custom: {
    50: '#baca9f',
    500: '#9db478',
    950: '#000000',
  },
}
SCSS
$custom: #9db478;
$custom-light: #baca9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9db478",
  "rgb": {
    "r": 157,
    "g": 180,
    "b": 120
  },
  "hsl": {
    "h": 83,
    "s": 28.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.73742,
    "c": 0.08583,
    "h": 125.5
  },
  "luminance": 0.41167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DB478

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

Preview Lab → · Contrast checker → · Palette generator →

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