#B5CC3A#B5CC3A

#B5CC3A 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#B5CC3A
RGBrgb(181, 204, 58)
HSLhsl(69, 59%, 51%)
HSVhsv(69, 72%, 80%)
CMYKcmyk(11.3%, 0%, 71.6%, 20%)
CIE-LABlab(78.06, -26.38, 65.99)
CIE-LCHlch(78.06, 71.07, 111.79°)
OKLaboklab(80.18% -0.0786 0.1468)
OKLCHoklch(80.18% 0.167 118.2)
XYZxyz(41.4135, 53.3154, 12.1114)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CC3A #513ACC
analogous
#CC9A3A #B5CC3A #6CCC3A
triadic
#B5CC3A #3AB5CC #CC3AB5
tetradic
#B5CC3A #3ACC9A #513ACC #CC3A6C
square
#B5CC3A #3ACC9A #513ACC #CC3A6C
split-complementary
#B5CC3A #3A6CCC #9A3ACC
monochromatic
#626F1D #8DA029 #B5CC3A #C7D96B #DAE59B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5CC3A#FFFFFF#000000##000000
##B5CC3A1.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)
#D9C11F
Deuteranopia (green-blind)
#D7C246
Tritanopia (blue-blind)
#C0C1B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b5cc3a;
/* rgb */ color: rgb(181, 204, 58);
/* oklch */ color: oklch(80.2% 0.167 118.2);
Tailwind
colors: {
  custom: {
    50: '#cfdb7a',
    500: '#b5cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #b5cc3a;
$custom-light: #cfdb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cc3a",
  "rgb": {
    "r": 181,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 69.452,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.80184,
    "c": 0.16651,
    "h": 118.2
  },
  "luminance": 0.53315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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