#B8CC4E#B8CC4E

#B8CC4E is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.6% C 0.151 H 117.6°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#B8CC4E
RGBrgb(184, 204, 78)
HSLhsl(70, 55%, 55%)
HSVhsv(70, 62%, 80%)
CMYKcmyk(9.8%, 0%, 61.8%, 20%)
CIE-LABlab(78.42, -23.93, 58.67)
CIE-LCHlch(78.42, 63.36, 112.19°)
OKLaboklab(80.57% -0.0701 0.1343)
OKLCHoklch(80.57% 0.151 117.6)
XYZxyz(42.7360, 53.9266, 15.3638)
Luminance0.5393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CC4E #624ECC
analogous
#CCA14E #B8CC4E #79CC4E
triadic
#B8CC4E #4EB8CC #CC4EB8
tetradic
#B8CC4E #4ECCA1 #624ECC #CC4E79
square
#B8CC4E #4ECCA1 #624ECC #CC4E79
split-complementary
#B8CC4E #4E79CC #A14ECC
monochromatic
#6E7C24 #98AB31 #B8CC4E #CBDA7E #DEE7AD

Accessibility & contrast

On white

1.78
#B8CC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#B8CC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CC4E
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CC4E#FFFFFF#000000##000000
##B8CC4E1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23F
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#C2C1B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b8cc4e;
/* rgb */ color: rgb(184, 204, 78);
/* oklch */ color: oklch(80.6% 0.151 117.6);
Tailwind
colors: {
  custom: {
    50: '#d0db85',
    500: '#b8cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #b8cc4e;
$custom-light: #d0db85;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cc4e",
  "rgb": {
    "r": 184,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 69.524,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80572,
    "c": 0.15147,
    "h": 117.6
  },
  "luminance": 0.53926
}

Semantic roles & 50–950 ramp

primary
#B8CC4E
secondary
#463A84
accent
#49DF61
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B8CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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