#B4CC34#B4CC34

#B4CC34 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.1% C 0.170 H 118.4°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#B4CC34
RGBrgb(180, 204, 52)
HSLhsl(69, 60%, 50%)
HSVhsv(69, 75%, 80%)
CMYKcmyk(11.8%, 0%, 74.5%, 20%)
CIE-LABlab(77.96, -27.08, 67.89)
CIE-LCHlch(77.96, 73.09, 111.75°)
OKLaboklab(80.07% -0.081 0.1498)
OKLCHoklch(80.07% 0.17 118.4)
XYZxyz(41.0360, 53.1373, 11.3429)
Luminance0.5314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CC34 #4C34CC
analogous
#CC9834 #B4CC34 #68CC34
triadic
#B4CC34 #34B4CC #CC34B4
tetradic
#B4CC34 #34CC98 #4C34CC #CC3468
square
#B4CC34 #34CC98 #4C34CC #CC3468
split-complementary
#B4CC34 #3468CC #9834CC
monochromatic
#5E6B1B #899C27 #B4CC34 #C6D865 #D8E596

Accessibility & contrast

On white

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

On black

11.63
#B4CC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CC34
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CC34#FFFFFF#000000##000000
##B4CC341.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC110
Deuteranopia (green-blind)
#D7C142
Tritanopia (blue-blind)
#BFC1AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b4cc34;
/* rgb */ color: rgb(180, 204, 52);
/* oklch */ color: oklch(80.1% 0.170 118.4);
Tailwind
colors: {
  custom: {
    50: '#cedb77',
    500: '#b4cc34',
    950: '#000000',
  },
}
SCSS
$custom: #b4cc34;
$custom-light: #cedb77;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cc34",
  "rgb": {
    "r": 180,
    "g": 204,
    "b": 52
  },
  "hsl": {
    "h": 69.474,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80071,
    "c": 0.17032,
    "h": 118.4
  },
  "luminance": 0.53137
}

Semantic roles & 50–950 ramp

primary
#B4CC34
secondary
#3B3074
accent
#45E35E
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B4CC34

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

Preview Lab → · Contrast checker → · Palette generator →

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