#B8CA56#B8CA56

#B8CA56 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#B8CA56
RGBrgb(184, 202, 86)
HSLhsl(69, 52%, 56%)
HSVhsv(69, 57%, 79%)
CMYKcmyk(8.9%, 0%, 57.4%, 20.8%)
CIE-LABlab(77.94, -22.35, 54.67)
CIE-LCHlch(77.94, 59.06, 112.24°)
OKLaboklab(80.21% -0.0649 0.1267)
OKLCHoklch(80.21% 0.142 117.1)
XYZxyz(42.5681, 53.1037, 16.8098)
Luminance0.5310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CA56 #6856CA
analogous
#CAA256 #B8CA56 #7ECA56
triadic
#B8CA56 #56B8CA #CA56B8
tetradic
#B8CA56 #56CAA2 #6856CA #CA567E
square
#B8CA56 #56CAA2 #6856CA #CA567E
split-complementary
#B8CA56 #567ECA #A256CA
monochromatic
#717E28 #9AAD36 #B8CA56 #CCD985 #DFE7B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8CA56#FFFFFF#000000##000000
##B8CA561.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)
#D6C04A
Deuteranopia (green-blind)
#D5C15D
Tritanopia (blue-blind)
#C2C0B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b8ca56;
/* rgb */ color: rgb(184, 202, 86);
/* oklch */ color: oklch(80.2% 0.142 117.1);
Tailwind
colors: {
  custom: {
    50: '#d0da8a',
    500: '#b8ca56',
    950: '#000000',
  },
}
SCSS
$custom: #b8ca56;
$custom-light: #d0da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ca56",
  "rgb": {
    "r": 184,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 69.31,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80207,
    "c": 0.14239,
    "h": 117.1
  },
  "luminance": 0.53103
}

Semantic roles & 50–950 ramp

primary
#B8CA56
secondary
#493E86
accent
#4CDC62
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140C
muted
#83837F

Preview Lab

Preview with #B8CA56

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

Preview Lab → · Contrast checker → · Palette generator →

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