#B8CC4F#B8CC4F

#B8CC4F 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#B8CC4F
RGBrgb(184, 204, 79)
HSLhsl(70, 55%, 55%)
HSVhsv(70, 61%, 80%)
CMYKcmyk(9.8%, 0%, 61.3%, 20%)
CIE-LABlab(78.43, -23.86, 58.26)
CIE-LCHlch(78.43, 62.95, 112.27°)
OKLaboklab(80.58% -0.0698 0.1335)
OKLCHoklch(80.58% 0.151 117.6)
XYZxyz(42.7721, 53.9410, 15.5540)
Luminance0.5394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CC4F #634FCC
analogous
#CCA14F #B8CC4F #79CC4F
triadic
#B8CC4F #4FB8CC #CC4FB8
tetradic
#B8CC4F #4FCCA1 #634FCC #CC4F79
square
#B8CC4F #4FCCA1 #634FCC #CC4F79
split-complementary
#B8CC4F #4F79CC #A14FCC
monochromatic
#6E7D24 #98AC32 #B8CC4F #CBDA7E #DEE7AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8CC4F#FFFFFF#000000##000000
##B8CC4F1.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)
#D9C240
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#C2C1B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b8cc4f;
/* rgb */ color: rgb(184, 204, 79);
/* oklch */ color: oklch(80.6% 0.151 117.6);
Tailwind
colors: {
  custom: {
    50: '#d0db86',
    500: '#b8cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #b8cc4f;
$custom-light: #d0db86;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cc4f",
  "rgb": {
    "r": 184,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 69.6,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80581,
    "c": 0.15066,
    "h": 117.6
  },
  "luminance": 0.53941
}

Semantic roles & 50–950 ramp

primary
#B8CC4F
secondary
#473B84
accent
#49DE61
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #B8CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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