#B5CC2C#B5CC2C

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

Color values

HEX#B5CC2C
RGBrgb(181, 204, 44)
HSLhsl(69, 65%, 49%)
HSVhsv(69, 78%, 80%)
CMYKcmyk(11.3%, 0%, 78.4%, 20%)
CIE-LABlab(77.99, -27.01, 70.38)
CIE-LCHlch(77.99, 75.38, 110.99°)
OKLaboklab(80.1% -0.0815 0.1537)
OKLCHoklch(80.1% 0.174 117.9)
XYZxyz(41.1045, 53.1918, 10.4840)
Luminance0.5319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CC2C #432CCC
analogous
#CC932C #B5CC2C #65CC2C
triadic
#B5CC2C #2CB5CC #CC2CB5
tetradic
#B5CC2C #2CCC93 #432CCC #CC2C65
square
#B5CC2C #2CCC93 #432CCC #CC2C65
split-complementary
#B5CC2C #2C65CC #932CCC
monochromatic
#5C6716 #889A21 #B5CC2C #C9DB5A #D9E68C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5CC2C#FFFFFF#000000##000000
##B5CC2C1.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)
#DAC000
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#C0C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b5cc2c;
/* rgb */ color: rgb(181, 204, 44);
/* oklch */ color: oklch(80.1% 0.174 117.9);
Tailwind
colors: {
  custom: {
    50: '#cfdb73',
    500: '#b5cc2c',
    950: '#000000',
  },
}
SCSS
$custom: #b5cc2c;
$custom-light: #cfdb73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cc2c",
  "rgb": {
    "r": 181,
    "g": 204,
    "b": 44
  },
  "hsl": {
    "h": 68.625,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.80102,
    "c": 0.17398,
    "h": 117.9
  },
  "luminance": 0.53191
}

Semantic roles & 50–950 ramp

primary
#B5CC2C
secondary
#352B71
accent
#40E858
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B5CC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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