#B4CD2C#B4CD2C

#B4CD2C is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.3% C 0.175 H 118.6°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#B4CD2C
RGBrgb(180, 205, 44)
HSLhsl(69, 65%, 49%)
HSVhsv(69, 79%, 80%)
CMYKcmyk(12.2%, 0%, 78.5%, 19.6%)
CIE-LABlab(78.20, -27.90, 70.54)
CIE-LCHlch(78.20, 75.86, 111.58°)
OKLaboklab(80.25% -0.0839 0.1541)
OKLCHoklch(80.25% 0.175 118.6)
XYZxyz(41.1093, 53.5481, 10.5526)
Luminance0.5355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CD2C #452CCD
analogous
#CD962C #B4CD2C #64CD2C
triadic
#B4CD2C #2CB4CD #CD2CB4
tetradic
#B4CD2C #2CCD96 #452CCD #CD2C64
square
#B4CD2C #2CCD96 #452CCD #CD2C64
split-complementary
#B4CD2C #2C64CD #962CCD
monochromatic
#5C6816 #889B21 #B4CD2C #C8DC5B #D9E78D

Accessibility & contrast

On white

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

On black

11.71
#B4CD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CD2C
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CD2C#FFFFFF#000000##000000
##B4CD2C1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC100
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#BFC1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b4cd2c;
/* rgb */ color: rgb(180, 205, 44);
/* oklch */ color: oklch(80.3% 0.175 118.6);
Tailwind
colors: {
  custom: {
    50: '#cedc73',
    500: '#b4cd2c',
    950: '#000000',
  },
}
SCSS
$custom: #b4cd2c;
$custom-light: #cedc73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cd2c",
  "rgb": {
    "r": 180,
    "g": 205,
    "b": 44
  },
  "hsl": {
    "h": 69.317,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.80253,
    "c": 0.17545,
    "h": 118.6
  },
  "luminance": 0.53548
}

Semantic roles & 50–950 ramp

primary
#B4CD2C
secondary
#362B72
accent
#40E85A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B4CD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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