#B8CA52#B8CA52

#B8CA52 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.2% C 0.146 H 117.0°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#B8CA52
RGBrgb(184, 202, 82)
HSLhsl(69, 53%, 56%)
HSVhsv(69, 59%, 79%)
CMYKcmyk(8.9%, 0%, 59.4%, 20.8%)
CIE-LABlab(77.90, -22.66, 56.39)
CIE-LCHlch(77.90, 60.77, 111.89°)
OKLaboklab(80.17% -0.0662 0.1299)
OKLCHoklch(80.17% 0.146 117)
XYZxyz(42.4114, 53.0411, 15.9847)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CA52 #6452CA
analogous
#CAA052 #B8CA52 #7CCA52
triadic
#B8CA52 #52B8CA #CA52B8
tetradic
#B8CA52 #52CAA0 #6452CA #CA527C
square
#B8CA52 #52CAA0 #6452CA #CA527C
split-complementary
#B8CA52 #527CCA #A052CA
monochromatic
#6F7C26 #99AB34 #B8CA52 #CBD881 #DEE7B0

Accessibility & contrast

On white

1.81
#B8CA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#B8CA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CA52
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CA52#FFFFFF#000000##000000
##B8CA521.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C044
Deuteranopia (green-blind)
#D5C15A
Tritanopia (blue-blind)
#C2C0B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b8ca52;
/* rgb */ color: rgb(184, 202, 82);
/* oklch */ color: oklch(80.2% 0.146 117.0);
Tailwind
colors: {
  custom: {
    50: '#d0da87',
    500: '#b8ca52',
    950: '#000000',
  },
}
SCSS
$custom: #b8ca52;
$custom-light: #d0da87;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ca52",
  "rgb": {
    "r": 184,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 69,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80166,
    "c": 0.14581,
    "h": 117
  },
  "luminance": 0.53041
}

Semantic roles & 50–950 ramp

primary
#B8CA52
secondary
#473C84
accent
#4BDD61
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140C
muted
#83837F

Preview Lab

Preview with #B8CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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