#B8CC3C#B8CC3C

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

Color values

HEX#B8CC3C
RGBrgb(184, 204, 60)
HSLhsl(68, 59%, 52%)
HSVhsv(68, 71%, 80%)
CMYKcmyk(9.8%, 0%, 70.6%, 20%)
CIE-LABlab(78.29, -25.04, 65.58)
CIE-LCHlch(78.29, 70.20, 110.90°)
OKLaboklab(80.43% -0.0749 0.1461)
OKLCHoklch(80.43% 0.164 117.2)
XYZxyz(42.1766, 53.7028, 12.4179)
Luminance0.5370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CC3C #503CCC
analogous
#CC983C #B8CC3C #70CC3C
triadic
#B8CC3C #3CB8CC #CC3CB8
tetradic
#B8CC3C #3CCC98 #503CCC #CC3C70
square
#B8CC3C #3CCC98 #503CCC #CC3C70
split-complementary
#B8CC3C #3C70CC #983CCC
monochromatic
#65701D #90A12A #B8CC3C #CAD96D #DBE59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8CC3C#FFFFFF#000000##000000
##B8CC3C1.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)
#DAC123
Deuteranopia (green-blind)
#D8C248
Tritanopia (blue-blind)
#C3C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b8cc3c;
/* rgb */ color: rgb(184, 204, 60);
/* oklch */ color: oklch(80.4% 0.164 117.2);
Tailwind
colors: {
  custom: {
    50: '#d1db7b',
    500: '#b8cc3c',
    950: '#000000',
  },
}
SCSS
$custom: #b8cc3c;
$custom-light: #d1db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cc3c",
  "rgb": {
    "r": 184,
    "g": 204,
    "b": 60
  },
  "hsl": {
    "h": 68.333,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.80425,
    "c": 0.16423,
    "h": 117.2
  },
  "luminance": 0.53702
}

Semantic roles & 50–950 ramp

primary
#B8CC3C
secondary
#3D3379
accent
#46E25C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B8CC3C

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

Preview Lab → · Contrast checker → · Palette generator →

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