#B8CC3A#B8CC3A

#B8CC3A 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#B8CC3A
RGBrgb(184, 204, 58)
HSLhsl(68, 59%, 51%)
HSVhsv(68, 72%, 80%)
CMYKcmyk(9.8%, 0%, 71.6%, 20%)
CIE-LABlab(78.28, -25.15, 66.27)
CIE-LCHlch(78.28, 70.88, 110.78°)
OKLaboklab(80.41% -0.0754 0.1473)
OKLCHoklch(80.41% 0.165 117.1)
XYZxyz(42.1247, 53.6821, 12.1447)
Luminance0.5368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CC3A #4E3ACC
analogous
#CC973A #B8CC3A #6FCC3A
triadic
#B8CC3A #3AB8CC #CC3AB8
tetradic
#B8CC3A #3ACC97 #4E3ACC #CC3A6F
square
#B8CC3A #3ACC97 #4E3ACC #CC3A6F
split-complementary
#B8CC3A #3A6FCC #973ACC
monochromatic
#646F1D #8FA029 #B8CC3A #CAD96B #DBE59B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8CC3A#FFFFFF#000000##000000
##B8CC3A1.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)
#DAC11F
Deuteranopia (green-blind)
#D8C246
Tritanopia (blue-blind)
#C3C1B0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b8cc3a;
/* rgb */ color: rgb(184, 204, 58);
/* oklch */ color: oklch(80.4% 0.165 117.1);
Tailwind
colors: {
  custom: {
    50: '#d1db7a',
    500: '#b8cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #b8cc3a;
$custom-light: #d1db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8cc3a",
  "rgb": {
    "r": 184,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 68.219,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80411,
    "c": 0.16545,
    "h": 117.1
  },
  "luminance": 0.53682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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