#B4CD3A#B4CD3A

#B4CD3A is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 80.3% C 0.168 H 118.8°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#B4CD3A
RGBrgb(180, 205, 58)
HSLhsl(70, 60%, 52%)
HSVhsv(70, 72%, 80%)
CMYKcmyk(12.2%, 0%, 71.7%, 19.6%)
CIE-LABlab(78.27, -27.26, 66.17)
CIE-LCHlch(78.27, 71.57, 112.39°)
OKLaboklab(80.34% -0.081 0.1472)
OKLCHoklch(80.34% 0.168 118.8)
XYZxyz(41.4183, 53.6717, 12.1799)
Luminance0.5367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CD3A #533ACD
analogous
#CD9D3A #B4CD3A #6BCD3A
triadic
#B4CD3A #3AB4CD #CD3AB4
tetradic
#B4CD3A #3ACD9D #533ACD #CD3A6B
square
#B4CD3A #3ACD9D #533ACD #CD3A6B
split-complementary
#B4CD3A #3A6BCD #9D3ACD
monochromatic
#62701C #8DA129 #B4CD3A #C7D96B #D9E69C

Accessibility & contrast

On white

1.79
#B4CD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#B4CD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CD3A
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CD3A#FFFFFF#000000##000000
##B4CD3A1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC21F
Deuteranopia (green-blind)
#D8C246
Tritanopia (blue-blind)
#BFC2B1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #b4cd3a;
/* rgb */ color: rgb(180, 205, 58);
/* oklch */ color: oklch(80.3% 0.168 118.8);
Tailwind
colors: {
  custom: {
    50: '#cedc7a',
    500: '#b4cd3a',
    950: '#000000',
  },
}
SCSS
$custom: #b4cd3a;
$custom-light: #cedc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cd3a",
  "rgb": {
    "r": 180,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 70.204,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80335,
    "c": 0.16801,
    "h": 118.8
  },
  "luminance": 0.53671
}

Semantic roles & 50–950 ramp

primary
#B4CD3A
secondary
#3E3279
accent
#45E360
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4CD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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