#B8CA28#B8CA28

#B8CA28 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 79.9% C 0.173 H 116.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#B8CA28
RGBrgb(184, 202, 40)
HSLhsl(67, 67%, 47%)
HSVhsv(67, 80%, 79%)
CMYKcmyk(8.9%, 0%, 80.2%, 20.8%)
CIE-LABlab(77.63, -24.95, 71.25)
CIE-LCHlch(77.63, 75.49, 109.30°)
OKLaboklab(79.86% -0.0763 0.1548)
OKLCHoklch(79.86% 0.173 116.2)
XYZxyz(41.2719, 52.5852, 9.9829)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CA28 #3A28CA
analogous
#CA8B28 #B8CA28 #67CA28
triadic
#B8CA28 #28B8CA #CA28B8
tetradic
#B8CA28 #28CA8B #3A28CA #CA2867
square
#B8CA28 #28CA8B #3A28CA #CA2867
split-complementary
#B8CA28 #2867CA #8B28CA
monochromatic
#5B6414 #89971E #B8CA28 #CDDD52 #DCE785

Accessibility & contrast

On white

1.82
#B8CA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#B8CA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CA28
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CA28#FFFFFF#000000##000000
##B8CA281.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9BF00
Deuteranopia (green-blind)
#D7C139
Tritanopia (blue-blind)
#C4BEAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b8ca28;
/* rgb */ color: rgb(184, 202, 40);
/* oklch */ color: oklch(79.9% 0.173 116.2);
Tailwind
colors: {
  custom: {
    50: '#d1da72',
    500: '#b8ca28',
    950: '#000000',
  },
}
SCSS
$custom: #b8ca28;
$custom-light: #d1da72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ca28",
  "rgb": {
    "r": 184,
    "g": 202,
    "b": 40
  },
  "hsl": {
    "h": 66.667,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.79863,
    "c": 0.17255,
    "h": 116.2
  },
  "luminance": 0.52585
}

Semantic roles & 50–950 ramp

primary
#B8CA28
secondary
#30286E
accent
#3EEA51
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B8CA28

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

Preview Lab → · Contrast checker → · Palette generator →

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