#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 |
|---|---|
| RGB | rgb(181, 204, 58) |
| HSL | hsl(69, 59%, 51%) |
| HSV | hsv(69, 72%, 80%) |
| CMYK | cmyk(11.3%, 0%, 71.6%, 20%) |
| CIE-LAB | lab(78.06, -26.38, 65.99) |
| CIE-LCH | lch(78.06, 71.07, 111.79°) |
| OKLab | oklab(80.18% -0.0786 0.1468) |
| OKLCH | oklch(80.18% 0.167 118.2) |
| XYZ | xyz(41.4135, 53.3154, 12.1114) |
| Luminance | 0.5332 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.76
Pea
#A4BF20
ΔE00 3.72
Baby Puke Green
#B6C406
ΔE00 3.84
Bile
#B5C306
ΔE00 3.92
Gross Green
#A0BF16
ΔE00 4.16
Snot Green
#9DC100
ΔE00 4.41
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 |
|---|---|---|---|---|
| ##B5CC3A | 1.00 | 1.80 | 11.66 | 11.66 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.66 | 21.00 | 1.00 | 1.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