#B5CA28#B5CA28
#B5CA28 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.6% C 0.174 H 117.3°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CA28 |
|---|---|
| RGB | rgb(181, 202, 40) |
| HSL | hsl(68, 67%, 47%) |
| HSV | hsv(68, 80%, 79%) |
| CMYK | cmyk(10.4%, 0%, 80.2%, 20.8%) |
| CIE-LAB | lab(77.41, -26.20, 70.97) |
| CIE-LCH | lch(77.41, 75.65, 110.26°) |
| OKLab | oklab(79.63% -0.0796 0.1543) |
| OKLCH | oklch(79.63% 0.174 117.3) |
| XYZ | xyz(40.5607, 52.2185, 9.9495) |
| Luminance | 0.5222 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.70
Baby Puke Green
#B6C406
ΔE00 2.44
Bile
#B5C306
ΔE00 2.55
Pea
#A4BF20
ΔE00 3.45
Gross Green
#A0BF16
ΔE00 3.89
Snot
#ACBB0D
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CA28 #3D28CA
analogous
#CA8E28 #B5CA28 #64CA28
triadic
#B5CA28 #28B5CA #CA28B5
tetradic
#B5CA28 #28CA8E #3D28CA #CA2864
square
#B5CA28 #28CA8E #3D28CA #CA2864
split-complementary
#B5CA28 #2864CA #8E28CA
monochromatic
#596414 #87971E #B5CA28 #CBDD52 #DAE785
Accessibility & contrast
On white
1.84
#B5CA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.44
#B5CA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CA28
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CA28 | 1.00 | 1.84 | 11.44 | 11.44 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D6C039
Tritanopia (blue-blind)
#C1BEAD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b5ca28; /* rgb */ color: rgb(181, 202, 40); /* oklch */ color: oklch(79.6% 0.174 117.3);
Tailwind
colors: {
custom: {
50: '#cfda71',
500: '#b5ca28',
950: '#000000',
},
}SCSS
$custom: #b5ca28; $custom-light: #cfda71; $custom-dark: #000000;
JSON
{
"hex": "#b5ca28",
"rgb": {
"r": 181,
"g": 202,
"b": 40
},
"hsl": {
"h": 67.778,
"s": 66.942,
"l": 47.451
},
"oklch": {
"l": 0.79633,
"c": 0.1736,
"h": 117.3
},
"luminance": 0.52218
}Semantic roles & 50–950 ramp
primary
#B5CA28
secondary
#31286E
accent
#3EEA54
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D