#B4CA2D#B4CA2D

#B4CA2D is a light, vivid yellow. Relative luminance 0.521; OKLCH L 79.6% C 0.172 H 117.7°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#B4CA2D
RGBrgb(180, 202, 45)
HSLhsl(68, 64%, 48%)
HSVhsv(68, 78%, 79%)
CMYKcmyk(10.9%, 0%, 77.7%, 20.8%)
CIE-LABlab(77.36, -26.42, 69.50)
CIE-LCHlch(77.36, 74.35, 110.82°)
OKLaboklab(79.58% -0.0798 0.152)
OKLCHoklch(79.58% 0.172 117.7)
XYZxyz(40.4176, 52.1343, 10.4158)
Luminance0.5213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CA2D #432DCA
analogous
#CA912D #B4CA2D #65CA2D
triadic
#B4CA2D #2DB4CA #CA2DB4
tetradic
#B4CA2D #2DCA91 #432DCA #CA2D65
square
#B4CA2D #2DCA91 #432DCA #CA2D65
split-complementary
#B4CA2D #2D65CA #912DCA
monochromatic
#5B6617 #879822 #B4CA2D #C8DA5A #D9E58C

Accessibility & contrast

On white

1.84
#B4CA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#B4CA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CA2D
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CA2D#FFFFFF#000000##000000
##B4CA2D1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4ca2d;
/* rgb */ color: rgb(180, 202, 45);
/* oklch */ color: oklch(79.6% 0.172 117.7);
Tailwind
colors: {
  custom: {
    50: '#ceda74',
    500: '#b4ca2d',
    950: '#000000',
  },
}
SCSS
$custom: #b4ca2d;
$custom-light: #ceda74;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ca2d",
  "rgb": {
    "r": 180,
    "g": 202,
    "b": 45
  },
  "hsl": {
    "h": 68.408,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.79581,
    "c": 0.1717,
    "h": 117.7
  },
  "luminance": 0.52134
}

Semantic roles & 50–950 ramp

primary
#B4CA2D
secondary
#352B70
accent
#41E758
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4CA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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