#B8CA57#B8CA57

#B8CA57 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.2% C 0.142 H 117.1°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#B8CA57
RGBrgb(184, 202, 87)
HSLhsl(69, 52%, 57%)
HSVhsv(69, 57%, 79%)
CMYKcmyk(8.9%, 0%, 56.9%, 20.8%)
CIE-LABlab(77.95, -22.27, 54.23)
CIE-LCHlch(77.95, 58.63, 112.33°)
OKLaboklab(80.22% -0.0646 0.1259)
OKLCHoklch(80.22% 0.142 117.1)
XYZxyz(42.6087, 53.1200, 17.0235)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CA57 #6957CA
analogous
#CAA357 #B8CA57 #7FCA57
triadic
#B8CA57 #57B8CA #CA57B8
tetradic
#B8CA57 #57CAA3 #6957CA #CA577F
square
#B8CA57 #57CAA3 #6957CA #CA577F
split-complementary
#B8CA57 #577FCA #A357CA
monochromatic
#717F28 #9BAD37 #B8CA57 #CCD986 #DFE7B4

Accessibility & contrast

On white

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

On black

11.62
#B8CA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8CA57
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8CA57#FFFFFF#000000##000000
##B8CA571.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04B
Deuteranopia (green-blind)
#D5C15E
Tritanopia (blue-blind)
#C2C0B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b8ca57;
/* rgb */ color: rgb(184, 202, 87);
/* oklch */ color: oklch(80.2% 0.142 117.1);
Tailwind
colors: {
  custom: {
    50: '#d0da8a',
    500: '#b8ca57',
    950: '#000000',
  },
}
SCSS
$custom: #b8ca57;
$custom-light: #d0da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ca57",
  "rgb": {
    "r": 184,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 69.391,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.80218,
    "c": 0.14151,
    "h": 117.1
  },
  "luminance": 0.5312
}

Semantic roles & 50–950 ramp

primary
#B8CA57
secondary
#4A3F87
accent
#4CDB63
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B8CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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