#B9D478#B9D478

#B9D478 is a very light, vivid yellow-green. Relative luminance 0.588; OKLCH L 82.9% C 0.122 H 122.5°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#B9D478
RGBrgb(185, 212, 120)
HSLhsl(78, 52%, 65%)
HSVhsv(78, 43%, 83%)
CMYKcmyk(12.7%, 0%, 43.4%, 16.9%)
CIE-LABlab(81.16, -23.56, 42.43)
CIE-LCHlch(81.16, 48.54, 119.04°)
OKLaboklab(82.93% -0.0654 0.1028)
OKLCHoklch(82.93% 0.122 122.5)
XYZxyz(46.9412, 58.7572, 26.6340)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9D478 #9378D4
analogous
#D4C178 #B9D478 #8BD478
triadic
#B9D478 #78B9D4 #D478B9
tetradic
#B9D478 #78D4C1 #9378D4 #D4788B
square
#B9D478 #78D4C1 #9378D4 #D4788B
split-complementary
#B9D478 #788BD4 #C178D4
monochromatic
#7F9F33 #A1C54A #B9D478 #D1E3A6 #E9F2D5

Accessibility & contrast

On white

1.65
#B9D478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#B9D478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9D478
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9D478#FFFFFF#000000##000000
##B9D4781.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECA71
Deuteranopia (green-blind)
#DACA7D
Tritanopia (blue-blind)
#C0CCBE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #b9d478;
/* rgb */ color: rgb(185, 212, 120);
/* oklch */ color: oklch(82.9% 0.122 122.5);
Tailwind
colors: {
  custom: {
    50: '#cfe1a0',
    500: '#b9d478',
    950: '#000000',
  },
}
SCSS
$custom: #b9d478;
$custom-light: #cfe1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b9d478",
  "rgb": {
    "r": 185,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 77.609,
    "s": 51.685,
    "l": 65.098
  },
  "oklch": {
    "l": 0.82934,
    "c": 0.1218,
    "h": 122.5
  },
  "luminance": 0.58757
}

Semantic roles & 50–950 ramp

primary
#B9D478
secondary
#664DA4
accent
#26BF53
background
#FEFEFC
surface
#FBFCF5
border
#D4D5CF
text
#14150F
muted
#838480

Preview Lab

Preview with #B9D478

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

Preview Lab → · Contrast checker → · Palette generator →

#B9D478 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva