#B4CC42#B4CC42

#B4CC42 is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 80.2% C 0.162 H 118.7°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#B4CC42
RGBrgb(180, 204, 66)
HSLhsl(70, 58%, 53%)
HSVhsv(70, 68%, 80%)
CMYKcmyk(11.8%, 0%, 67.6%, 20%)
CIE-LABlab(78.04, -26.34, 63.01)
CIE-LCHlch(78.04, 68.30, 112.68°)
OKLaboklab(80.17% -0.0778 0.1418)
OKLCHoklch(80.17% 0.162 118.7)
XYZxyz(41.3994, 53.2827, 13.2568)
Luminance0.5328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CC42 #5A42CC
analogous
#CC9F42 #B4CC42 #6FCC42
triadic
#B4CC42 #42B4CC #CC42B4
tetradic
#B4CC42 #42CC9F #5A42CC #CC426F
square
#B4CC42 #42CC9F #5A42CC #CC426F
split-complementary
#B4CC42 #426FCC #9F42CC
monochromatic
#65741F #90A42C #B4CC42 #C7D972 #DAE6A2

Accessibility & contrast

On white

1.80
#B4CC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#B4CC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CC42
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CC42#FFFFFF#000000##000000
##B4CC421.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D6C24D
Tritanopia (blue-blind)
#BEC1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b4cc42;
/* rgb */ color: rgb(180, 204, 66);
/* oklch */ color: oklch(80.2% 0.162 118.7);
Tailwind
colors: {
  custom: {
    50: '#cedb7e',
    500: '#b4cc42',
    950: '#000000',
  },
}
SCSS
$custom: #b4cc42;
$custom-light: #cedb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cc42",
  "rgb": {
    "r": 180,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 70.435,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80167,
    "c": 0.16172,
    "h": 118.7
  },
  "luminance": 0.53282
}

Semantic roles & 50–950 ramp

primary
#B4CC42
secondary
#42357D
accent
#47E162
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4CC42

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

Preview Lab → · Contrast checker → · Palette generator →

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