#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 |
|---|---|
| RGB | rgb(181, 204, 52) |
| HSL | hsl(69, 60%, 50%) |
| HSV | hsv(69, 75%, 80%) |
| CMYK | cmyk(11.3%, 0%, 74.5%, 20%) |
| CIE-LAB | lab(78.03, -26.67, 67.98) |
| CIE-LCH | lch(78.03, 73.02, 111.42°) |
| OKLab | oklab(80.15% -0.08 0.15) |
| OKLCH | oklch(80.15% 0.17 118.1) |
| XYZ | xyz(41.2697, 53.2578, 11.3538) |
| Luminance | 0.5326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.25
Baby Puke Green
#B6C406
ΔE00 3.46
Bile
#B5C306
ΔE00 3.55
Pea
#A4BF20
ΔE00 3.66
Gross Green
#A0BF16
ΔE00 4.08
Snot Green
#9DC100
ΔE00 4.28
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 |
|---|---|---|---|---|
| ##B5CC34 | 1.00 | 1.80 | 11.65 | 11.65 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.65 | 21.00 | 1.00 | 1.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