#B9C478#B9C478

#B9C478 is a light, moderate yellow. Relative luminance 0.511; OKLCH L 79.4% C 0.100 H 115.4°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#B9C478
RGBrgb(185, 196, 120)
HSLhsl(69, 39%, 62%)
HSVhsv(69, 39%, 77%)
CMYKcmyk(5.6%, 0%, 38.8%, 23.1%)
CIE-LABlab(76.77, -15.62, 36.89)
CIE-LCHlch(76.77, 40.06, 112.96°)
OKLaboklab(79.43% -0.0429 0.0902)
OKLCHoklch(79.43% 0.1 115.4)
XYZxyz(43.1379, 51.1506, 25.3662)
Luminance0.5115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C478 #8378C4
analogous
#C4A978 #B9C478 #93C478
triadic
#B9C478 #78B9C4 #C478B9
tetradic
#B9C478 #78C4A9 #8378C4 #C47893
square
#B9C478 #78C4A9 #8378C4 #C47893
split-complementary
#B9C478 #7893C4 #A978C4
monochromatic
#7C873B #A3B14D #B9C478 #CFD7A3 #E5E9CD

Accessibility & contrast

On white

1.87
#B9C478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#B9C478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C478
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C478#FFFFFF#000000##000000
##B9C4781.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBD72
Deuteranopia (green-blind)
#CDBE7C
Tritanopia (blue-blind)
#C1BCB1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b9c478;
/* rgb */ color: rgb(185, 196, 120);
/* oklch */ color: oklch(79.4% 0.100 115.4);
Tailwind
colors: {
  custom: {
    50: '#cfd5a0',
    500: '#b9c478',
    950: '#000000',
  },
}
SCSS
$custom: #b9c478;
$custom-light: #cfd5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c478",
  "rgb": {
    "r": 185,
    "g": 196,
    "b": 120
  },
  "hsl": {
    "h": 68.684,
    "s": 39.175,
    "l": 61.961
  },
  "oklch": {
    "l": 0.79426,
    "c": 0.09988,
    "h": 115.4
  },
  "luminance": 0.5115
}

Semantic roles & 50–950 ramp

primary
#B9C478
secondary
#5A518F
accent
#33B246
background
#FEFEFC
surface
#FBFBF5
border
#D4D4CF
text
#14140F
muted
#838380

Preview Lab

Preview with #B9C478

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

Preview Lab → · Contrast checker → · Palette generator →

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