#B5CC2D#B5CC2D
#B5CC2D is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.1% C 0.174 H 118.0°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CC2D |
|---|---|
| RGB | rgb(181, 204, 45) |
| HSL | hsl(69, 64%, 49%) |
| HSV | hsv(69, 78%, 80%) |
| CMYK | cmyk(11.3%, 0%, 77.9%, 20%) |
| CIE-LAB | lab(77.99, -26.97, 70.10) |
| CIE-LCH | lch(77.99, 75.11, 111.04°) |
| OKLab | oklab(80.11% -0.0813 0.1533) |
| OKLCH | oklch(80.11% 0.174 118) |
| XYZ | xyz(41.1236, 53.1994, 10.5842) |
| Luminance | 0.5320 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.74
Baby Puke Green
#B6C406
ΔE00 3.10
Bile
#B5C306
ΔE00 3.21
Pea
#A4BF20
ΔE00 3.68
Gross Green
#A0BF16
ΔE00 4.06
Snot Green
#9DC100
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CC2D #442DCC
analogous
#CC942D #B5CC2D #66CC2D
triadic
#B5CC2D #2DB5CC #CC2DB5
tetradic
#B5CC2D #2DCC94 #442DCC #CC2D66
square
#B5CC2D #2DCC94 #442DCC #CC2D66
split-complementary
#B5CC2D #2D66CC #942DCC
monochromatic
#5C6817 #899A22 #B5CC2D #C8DB5B #D9E68D
Accessibility & contrast
On white
1.80
#B5CC2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.64
#B5CC2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CC2D
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CC2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CC2D | 1.00 | 1.80 | 11.64 | 11.64 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#C0C0AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b5cc2d; /* rgb */ color: rgb(181, 204, 45); /* oklch */ color: oklch(80.1% 0.174 118.0);
Tailwind
colors: {
custom: {
50: '#cfdb74',
500: '#b5cc2d',
950: '#000000',
},
}SCSS
$custom: #b5cc2d; $custom-light: #cfdb74; $custom-dark: #000000;
JSON
{
"hex": "#b5cc2d",
"rgb": {
"r": 181,
"g": 204,
"b": 45
},
"hsl": {
"h": 68.679,
"s": 63.855,
"l": 48.824
},
"oklch": {
"l": 0.80107,
"c": 0.17351,
"h": 118
},
"luminance": 0.53199
}Semantic roles & 50–950 ramp
primary
#B5CC2D
secondary
#362B72
accent
#41E759
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D