#B8CA2A#B8CA2A

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

Color values

HEX#B8CA2A
RGBrgb(184, 202, 42)
HSLhsl(67, 66%, 48%)
HSVhsv(67, 79%, 79%)
CMYKcmyk(8.9%, 0%, 79.2%, 20.8%)
CIE-LABlab(77.64, -24.88, 70.71)
CIE-LCHlch(77.64, 74.96, 109.38°)
OKLaboklab(79.87% -0.076 0.154)
OKLCHoklch(79.87% 0.172 116.3)
XYZxyz(41.3068, 52.5992, 10.1667)
Luminance0.5260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8CA2A #3C2ACA
analogous
#CA8C2A #B8CA2A #68CA2A
triadic
#B8CA2A #2AB8CA #CA2AB8
tetradic
#B8CA2A #2ACA8C #3C2ACA #CA2A68
square
#B8CA2A #2ACA8C #3C2ACA #CA2A68
split-complementary
#B8CA2A #2A68CA #8C2ACA
monochromatic
#5C6515 #8A971F #B8CA2A #CDDC55 #DCE688

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8CA2A#FFFFFF#000000##000000
##B8CA2A1.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)
#D8BF00
Deuteranopia (green-blind)
#D7C13A
Tritanopia (blue-blind)
#C4BEAD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b8ca2a;
/* rgb */ color: rgb(184, 202, 42);
/* oklch */ color: oklch(79.9% 0.172 116.3);
Tailwind
colors: {
  custom: {
    50: '#d1da72',
    500: '#b8ca2a',
    950: '#000000',
  },
}
SCSS
$custom: #b8ca2a;
$custom-light: #d1da72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ca2a",
  "rgb": {
    "r": 184,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 66.75,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.79872,
    "c": 0.17168,
    "h": 116.3
  },
  "luminance": 0.52599
}

Semantic roles & 50–950 ramp

primary
#B8CA2A
secondary
#31296F
accent
#3FE952
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #B8CA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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