#B5CC34#B5CC34

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

Color values

HEX#B5CC34
RGBrgb(181, 204, 52)
HSLhsl(69, 60%, 50%)
HSVhsv(69, 75%, 80%)
CMYKcmyk(11.3%, 0%, 74.5%, 20%)
CIE-LABlab(78.03, -26.67, 67.98)
CIE-LCHlch(78.03, 73.02, 111.42°)
OKLaboklab(80.15% -0.08 0.15)
OKLCHoklch(80.15% 0.17 118.1)
XYZxyz(41.2697, 53.2578, 11.3538)
Luminance0.5326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CC34 #4B34CC
analogous
#CC9734 #B5CC34 #69CC34
triadic
#B5CC34 #34B5CC #CC34B5
tetradic
#B5CC34 #34CC97 #4B34CC #CC3469
square
#B5CC34 #34CC97 #4B34CC #CC3469
split-complementary
#B5CC34 #3469CC #9734CC
monochromatic
#5F6B1B #8A9C27 #B5CC34 #C7D865 #D9E596

Accessibility & contrast

On white

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

On black

11.65
#B5CC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CC34
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CC34#FFFFFF#000000##000000
##B5CC341.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5cc34;
/* rgb */ color: rgb(181, 204, 52);
/* oklch */ color: oklch(80.1% 0.170 118.1);
Tailwind
colors: {
  custom: {
    50: '#cfdb77',
    500: '#b5cc34',
    950: '#000000',
  },
}
SCSS
$custom: #b5cc34;
$custom-light: #cfdb77;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cc34",
  "rgb": {
    "r": 181,
    "g": 204,
    "b": 52
  },
  "hsl": {
    "h": 69.079,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80146,
    "c": 0.16995,
    "h": 118.1
  },
  "luminance": 0.53257
}

Semantic roles & 50–950 ramp

primary
#B5CC34
secondary
#3A3074
accent
#45E35D
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B5CC34

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

Preview Lab → · Contrast checker → · Palette generator →

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