#B5CA48#B5CA48
#B5CA48 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.8% C 0.155 H 117.9°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #B5CA48 |
|---|---|
| RGB | rgb(181, 202, 72) |
| HSL | hsl(70, 55%, 54%) |
| HSV | hsv(70, 64%, 79%) |
| CMYK | cmyk(10.4%, 0%, 64.4%, 20.8%) |
| CIE-LAB | lab(77.60, -24.59, 60.21) |
| CIE-LCH | lch(77.60, 65.04, 112.21°) |
| OKLab | oklab(79.84% -0.0724 0.1368) |
| OKLCH | oklch(79.84% 0.155 117.9) |
| XYZ | xyz(41.3471, 52.5331, 14.0914) |
| Luminance | 0.5253 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.99
Green Yellow
#B5CE08
ΔE00 4.27
Gross Green
#A0BF16
ΔE00 4.53
Baby Puke Green
#B6C406
ΔE00 4.76
Bile
#B5C306
ΔE00 4.78
Snot Green
#9DC100
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5CA48 #5D48CA
analogous
#CA9E48 #B5CA48 #74CA48
triadic
#B5CA48 #48B5CA #CA48B5
tetradic
#B5CA48 #48CA9E #5D48CA #CA4874
square
#B5CA48 #48CA9E #5D48CA #CA4874
split-complementary
#B5CA48 #4874CA #9E48CA
monochromatic
#687622 #92A530 #B5CA48 #C8D877 #DBE5A7
Accessibility & contrast
On white
1.83
#B5CA48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.51
#B5CA48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5CA48
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5CA48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5CA48 | 1.00 | 1.83 | 11.51 | 11.51 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BF37
Deuteranopia (green-blind)
#D5C051
Tritanopia (blue-blind)
#BFBFAF
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b5ca48; /* rgb */ color: rgb(181, 202, 72); /* oklch */ color: oklch(79.8% 0.155 117.9);
Tailwind
colors: {
custom: {
50: '#ceda81',
500: '#b5ca48',
950: '#000000',
},
}SCSS
$custom: #b5ca48; $custom-light: #ceda81; $custom-dark: #000000;
JSON
{
"hex": "#b5ca48",
"rgb": {
"r": 181,
"g": 202,
"b": 72
},
"hsl": {
"h": 69.692,
"s": 55.085,
"l": 53.725
},
"oklch": {
"l": 0.79843,
"c": 0.15473,
"h": 117.9
},
"luminance": 0.52533
}Semantic roles & 50–950 ramp
primary
#B5CA48
secondary
#43387E
accent
#49DE61
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E