#B5CA26#B5CA26
#B5CA26 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 | #B5CA26 |
|---|---|
| RGB | rgb(181, 202, 38) |
| HSL | hsl(68, 68%, 47%) |
| HSV | hsv(68, 81%, 79%) |
| CMYK | cmyk(10.4%, 0%, 81.2%, 20.8%) |
| CIE-LAB | lab(77.40, -26.27, 71.49) |
| CIE-LCH | lch(77.40, 76.16, 110.17°) |
| OKLab | oklab(79.62% -0.0799 0.1551) |
| OKLCH | oklch(79.62% 0.174 117.3) |
| XYZ | xyz(40.5275, 52.2053, 9.7750) |
| Luminance | 0.5221 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.60
Baby Puke Green
#B6C406
ΔE00 2.36
Bile
#B5C306
ΔE00 2.47
Pea
#A4BF20
ΔE00 3.48
Snot
#ACBB0D
ΔE00 3.90
Gross Green
#A0BF16
ΔE00 3.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CA26 #3B26CA
analogous
#CA8D26 #B5CA26 #63CA26
triadic
#B5CA26 #26B5CA #CA26B5
tetradic
#B5CA26 #26CA8D #3B26CA #CA2663
square
#B5CA26 #26CA8D #3B26CA #CA2663
split-complementary
#B5CA26 #2663CA #8D26CA
monochromatic
#596313 #87961C #B5CA26 #CCDE4F #DBE883
Accessibility & contrast
On white
1.84
#B5CA26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.44
#B5CA26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CA26
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CA26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CA26 | 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)
#D6C037
Tritanopia (blue-blind)
#C1BEAD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b5ca26; /* rgb */ color: rgb(181, 202, 38); /* oklch */ color: oklch(79.6% 0.174 117.3);
Tailwind
colors: {
custom: {
50: '#cfda71',
500: '#b5ca26',
950: '#000000',
},
}SCSS
$custom: #b5ca26; $custom-light: #cfda71; $custom-dark: #000000;
JSON
{
"hex": "#b5ca26",
"rgb": {
"r": 181,
"g": 202,
"b": 38
},
"hsl": {
"h": 67.683,
"s": 68.333,
"l": 47.059
},
"oklch": {
"l": 0.79624,
"c": 0.17443,
"h": 117.3
},
"luminance": 0.52205
}Semantic roles & 50–950 ramp
primary
#B5CA26
secondary
#30276E
accent
#3DEB53
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D