#B4CC40#B4CC40

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

Color values

HEX#B4CC40
RGBrgb(180, 204, 64)
HSLhsl(70, 58%, 53%)
HSVhsv(70, 69%, 80%)
CMYKcmyk(11.8%, 0%, 68.6%, 20%)
CIE-LABlab(78.03, -26.46, 63.76)
CIE-LCHlch(78.03, 69.03, 112.54°)
OKLaboklab(80.15% -0.0783 0.1431)
OKLCHoklch(80.15% 0.163 118.7)
XYZxyz(41.3415, 53.2595, 12.9517)
Luminance0.5326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CC40 #5840CC
analogous
#CC9E40 #B4CC40 #6ECC40
triadic
#B4CC40 #40B4CC #CC40B4
tetradic
#B4CC40 #40CC9E #5840CC #CC406E
square
#B4CC40 #40CC9E #5840CC #CC406E
split-complementary
#B4CC40 #406ECC #9E40CC
monochromatic
#64731F #8FA32C #B4CC40 #C7D970 #DAE6A1

Accessibility & contrast

On white

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

On black

11.65
#B4CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CC40
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CC40#FFFFFF#000000##000000
##B4CC401.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4cc40;
/* rgb */ color: rgb(180, 204, 64);
/* oklch */ color: oklch(80.2% 0.163 118.7);
Tailwind
colors: {
  custom: {
    50: '#cedb7d',
    500: '#b4cc40',
    950: '#000000',
  },
}
SCSS
$custom: #b4cc40;
$custom-light: #cedb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cc40",
  "rgb": {
    "r": 180,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 70.286,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80152,
    "c": 0.16306,
    "h": 118.7
  },
  "luminance": 0.53259
}

Semantic roles & 50–950 ramp

primary
#B4CC40
secondary
#41347C
accent
#47E161
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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