#B8CC3B#B8CC3B

#B8CC3B is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.4% C 0.165 H 117.1°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#B8CC3B
RGBrgb(184, 204, 59)
HSLhsl(68, 59%, 52%)
HSVhsv(68, 71%, 80%)
CMYKcmyk(9.8%, 0%, 71.1%, 20%)
CIE-LABlab(78.28, -25.10, 65.93)
CIE-LCHlch(78.28, 70.54, 110.84°)
OKLaboklab(80.42% -0.0752 0.1467)
OKLCHoklch(80.42% 0.165 117.1)
XYZxyz(42.1504, 53.6923, 12.2800)
Luminance0.5369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CC3B #4F3BCC
analogous
#CC983B #B8CC3B #70CC3B
triadic
#B8CC3B #3BB8CC #CC3BB8
tetradic
#B8CC3B #3BCC98 #4F3BCC #CC3B70
square
#B8CC3B #3BCC98 #4F3BCC #CC3B70
split-complementary
#B8CC3B #3B70CC #983BCC
monochromatic
#64701D #90A02A #B8CC3B #CAD96C #DBE59C

Accessibility & contrast

On white

1.79
#B8CC3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#B8CC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CC3B
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CC3B#FFFFFF#000000##000000
##B8CC3B1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC121
Deuteranopia (green-blind)
#D8C247
Tritanopia (blue-blind)
#C3C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b8cc3b;
/* rgb */ color: rgb(184, 204, 59);
/* oklch */ color: oklch(80.4% 0.165 117.1);
Tailwind
colors: {
  custom: {
    50: '#d1db7a',
    500: '#b8cc3b',
    950: '#000000',
  },
}
SCSS
$custom: #b8cc3b;
$custom-light: #d1db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cc3b",
  "rgb": {
    "r": 184,
    "g": 204,
    "b": 59
  },
  "hsl": {
    "h": 68.276,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80418,
    "c": 0.16485,
    "h": 117.1
  },
  "luminance": 0.53692
}

Semantic roles & 50–950 ramp

primary
#B8CC3B
secondary
#3C3279
accent
#46E25B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B8CC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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