#B2CA2D#B2CA2D

#B2CA2D is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.4% C 0.172 H 118.4°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#B2CA2D
RGBrgb(178, 202, 45)
HSLhsl(69, 64%, 48%)
HSVhsv(69, 78%, 79%)
CMYKcmyk(11.9%, 0%, 77.7%, 20.8%)
CIE-LABlab(77.22, -27.25, 69.32)
CIE-LCHlch(77.22, 74.48, 111.46°)
OKLaboklab(79.43% -0.0819 0.1517)
OKLCHoklch(79.43% 0.172 118.4)
XYZxyz(39.9552, 51.8959, 10.3942)
Luminance0.5190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2CA2D #452DCA
analogous
#CA932D #B2CA2D #63CA2D
triadic
#B2CA2D #2DB2CA #CA2DB2
tetradic
#B2CA2D #2DCA93 #452DCA #CA2D63
square
#B2CA2D #2DCA93 #452DCA #CA2D63
split-complementary
#B2CA2D #2D63CA #932DCA
monochromatic
#5A6617 #869822 #B2CA2D #C7DA5A #D8E58C

Accessibility & contrast

On white

1.85
#B2CA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#B2CA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2CA2D
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2CA2D#FFFFFF#000000##000000
##B2CA2D1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D5BF3C
Tritanopia (blue-blind)
#BDBFAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b2ca2d;
/* rgb */ color: rgb(178, 202, 45);
/* oklch */ color: oklch(79.4% 0.172 118.4);
Tailwind
colors: {
  custom: {
    50: '#cdda73',
    500: '#b2ca2d',
    950: '#000000',
  },
}
SCSS
$custom: #b2ca2d;
$custom-light: #cdda73;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ca2d",
  "rgb": {
    "r": 178,
    "g": 202,
    "b": 45
  },
  "hsl": {
    "h": 69.172,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79431,
    "c": 0.17243,
    "h": 118.4
  },
  "luminance": 0.51895
}

Semantic roles & 50–950 ramp

primary
#B2CA2D
secondary
#362B70
accent
#41E75A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B2CA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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