#B4CC2C#B4CC2C

#B4CC2C is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.0% C 0.174 H 118.3°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#B4CC2C
RGBrgb(180, 204, 44)
HSLhsl(69, 65%, 49%)
HSVhsv(69, 78%, 80%)
CMYKcmyk(11.8%, 0%, 78.4%, 20%)
CIE-LABlab(77.92, -27.42, 70.29)
CIE-LCHlch(77.92, 75.45, 111.31°)
OKLaboklab(80.03% -0.0826 0.1535)
OKLCHoklch(80.03% 0.174 118.3)
XYZxyz(40.8709, 53.0713, 10.4731)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CC2C #442CCC
analogous
#CC942C #B4CC2C #64CC2C
triadic
#B4CC2C #2CB4CC #CC2CB4
tetradic
#B4CC2C #2CCC94 #442CCC #CC2C64
square
#B4CC2C #2CCC94 #442CCC #CC2C64
split-complementary
#B4CC2C #2C64CC #942CCC
monochromatic
#5B6716 #889A21 #B4CC2C #C8DB5A #D9E68C

Accessibility & contrast

On white

1.81
#B4CC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#B4CC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CC2C
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CC2C#FFFFFF#000000##000000
##B4CC2C1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC000
Deuteranopia (green-blind)
#D7C13C
Tritanopia (blue-blind)
#BFC0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b4cc2c;
/* rgb */ color: rgb(180, 204, 44);
/* oklch */ color: oklch(80.0% 0.174 118.3);
Tailwind
colors: {
  custom: {
    50: '#cedb73',
    500: '#b4cc2c',
    950: '#000000',
  },
}
SCSS
$custom: #b4cc2c;
$custom-light: #cedb73;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cc2c",
  "rgb": {
    "r": 180,
    "g": 204,
    "b": 44
  },
  "hsl": {
    "h": 69,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.80027,
    "c": 0.17435,
    "h": 118.3
  },
  "luminance": 0.53071
}

Semantic roles & 50–950 ramp

primary
#B4CC2C
secondary
#352B71
accent
#40E859
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B4CC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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