#B4CC39#B4CC39

#B4CC39 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.1% C 0.167 H 118.5°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#B4CC39
RGBrgb(180, 204, 57)
HSLhsl(70, 59%, 51%)
HSVhsv(70, 72%, 80%)
CMYKcmyk(11.8%, 0%, 72.1%, 20%)
CIE-LABlab(77.98, -26.84, 66.24)
CIE-LCHlch(77.98, 71.47, 112.06°)
OKLaboklab(80.1% -0.08 0.1472)
OKLCHoklch(80.1% 0.167 118.5)
XYZxyz(41.1547, 53.1848, 11.9677)
Luminance0.5318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CC39 #5139CC
analogous
#CC9A39 #B4CC39 #6ACC39
triadic
#B4CC39 #39B4CC #CC39B4
tetradic
#B4CC39 #39CC9A #5139CC #CC396A
square
#B4CC39 #39CC9A #5139CC #CC396A
split-complementary
#B4CC39 #396ACC #9A39CC
monochromatic
#616E1C #8C9F29 #B4CC39 #C6D96A #D9E59A

Accessibility & contrast

On white

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

On black

11.64
#B4CC39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CC39
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CC39#FFFFFF#000000##000000
##B4CC391.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C11D
Deuteranopia (green-blind)
#D7C145
Tritanopia (blue-blind)
#BFC1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b4cc39;
/* rgb */ color: rgb(180, 204, 57);
/* oklch */ color: oklch(80.1% 0.167 118.5);
Tailwind
colors: {
  custom: {
    50: '#cedb79',
    500: '#b4cc39',
    950: '#000000',
  },
}
SCSS
$custom: #b4cc39;
$custom-light: #cedb79;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cc39",
  "rgb": {
    "r": 180,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 69.796,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80103,
    "c": 0.16747,
    "h": 118.5
  },
  "luminance": 0.53184
}

Semantic roles & 50–950 ramp

primary
#B4CC39
secondary
#3D3278
accent
#46E25F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4CC39

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

Preview Lab → · Contrast checker → · Palette generator →

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