#B4CC3E#B4CC3E

#B4CC3E is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 80.1% C 0.164 H 118.6°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#B4CC3E
RGBrgb(180, 204, 62)
HSLhsl(70, 58%, 52%)
HSVhsv(70, 70%, 80%)
CMYKcmyk(11.8%, 0%, 69.6%, 20%)
CIE-LABlab(78.01, -26.57, 64.49)
CIE-LCHlch(78.01, 69.74, 112.39°)
OKLaboklab(80.14% -0.0788 0.1443)
OKLCHoklch(80.14% 0.164 118.6)
XYZxyz(41.2856, 53.2372, 12.6573)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CC3E #563ECC
analogous
#CC9D3E #B4CC3E #6DCC3E
triadic
#B4CC3E #3EB4CC #CC3EB4
tetradic
#B4CC3E #3ECC9D #563ECC #CC3E6D
square
#B4CC3E #3ECC9D #563ECC #CC3E6D
split-complementary
#B4CC3E #3E6DCC #9D3ECC
monochromatic
#63721E #8EA22B #B4CC3E #C7D96E #DAE69F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4CC3E#FFFFFF#000000##000000
##B4CC3E1.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)
#D9C127
Deuteranopia (green-blind)
#D7C149
Tritanopia (blue-blind)
#BFC1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b4cc3e;
/* rgb */ color: rgb(180, 204, 62);
/* oklch */ color: oklch(80.1% 0.164 118.6);
Tailwind
colors: {
  custom: {
    50: '#cedb7c',
    500: '#b4cc3e',
    950: '#000000',
  },
}
SCSS
$custom: #b4cc3e;
$custom-light: #cedb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cc3e",
  "rgb": {
    "r": 180,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 70.141,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80137,
    "c": 0.16437,
    "h": 118.6
  },
  "luminance": 0.53237
}

Semantic roles & 50–950 ramp

primary
#B4CC3E
secondary
#40347B
accent
#46E161
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4CC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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