#B5CC39#B5CC39

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

Color values

HEX#B5CC39
RGBrgb(181, 204, 57)
HSLhsl(69, 59%, 51%)
HSVhsv(69, 72%, 80%)
CMYKcmyk(11.3%, 0%, 72.1%, 20%)
CIE-LABlab(78.05, -26.43, 66.33)
CIE-LCHlch(78.05, 71.40, 111.72°)
OKLaboklab(80.18% -0.0789 0.1473)
OKLCHoklch(80.18% 0.167 118.2)
XYZxyz(41.3883, 53.3053, 11.9787)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CC39 #5039CC
analogous
#CC9939 #B5CC39 #6BCC39
triadic
#B5CC39 #39B5CC #CC39B5
tetradic
#B5CC39 #39CC99 #5039CC #CC396B
square
#B5CC39 #39CC99 #5039CC #CC396B
split-complementary
#B5CC39 #396BCC #9939CC
monochromatic
#616E1C #8C9F29 #B5CC39 #C7D96A #D9E59A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5CC39#FFFFFF#000000##000000
##B5CC391.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)
#DAC11D
Deuteranopia (green-blind)
#D7C245
Tritanopia (blue-blind)
#C0C1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b5cc39;
/* rgb */ color: rgb(181, 204, 57);
/* oklch */ color: oklch(80.2% 0.167 118.2);
Tailwind
colors: {
  custom: {
    50: '#cfdb79',
    500: '#b5cc39',
    950: '#000000',
  },
}
SCSS
$custom: #b5cc39;
$custom-light: #cfdb79;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cc39",
  "rgb": {
    "r": 181,
    "g": 204,
    "b": 57
  },
  "hsl": {
    "h": 69.388,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80177,
    "c": 0.16711,
    "h": 118.2
  },
  "luminance": 0.53305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5CC39

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

Preview Lab → · Contrast checker → · Palette generator →

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