#B5C52F#B5C52F
#B5C52F is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.5% C 0.165 H 115.7°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B5C52F |
|---|---|
| RGB | rgb(181, 197, 47) |
| HSL | hsl(66, 61%, 48%) |
| HSV | hsv(66, 76%, 77%) |
| CMYK | cmyk(8.1%, 0%, 76.1%, 22.7%) |
| CIE-LAB | lab(76.05, -23.51, 67.72) |
| CIE-LCH | lch(76.05, 71.68, 109.14°) |
| OKLab | oklab(78.55% -0.0716 0.1486) |
| OKLCH | oklch(78.55% 0.165 115.7) |
| XYZ | xyz(39.5365, 49.9621, 10.2497) |
| Luminance | 0.4996 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.08
Baby Puke Green
#B6C406
ΔE00 2.10
Snot
#ACBB0D
ΔE00 2.90
Pea
#A4BF20
ΔE00 3.06
Green Yellow
#B5CE08
ΔE00 3.10
Gross Green
#A0BF16
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5C52F #3F2FC5
analogous
#C58A2F #B5C52F #6AC52F
triadic
#B5C52F #2FB5C5 #C52FB5
tetradic
#B5C52F #2FC58A #3F2FC5 #C52F6A
square
#B5C52F #2FC58A #3F2FC5 #C52F6A
split-complementary
#B5C52F #2F6AC5 #8A2FC5
monochromatic
#5A6217 #889423 #B5C52F #CAD85A #DAE38B
Accessibility & contrast
On white
1.91
#B5C52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.99
#B5C52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5C52F
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5C52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5C52F | 1.00 | 1.91 | 10.99 | 10.99 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BB04
Deuteranopia (green-blind)
#D2BD3D
Tritanopia (blue-blind)
#C1B9A9
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #b5c52f; /* rgb */ color: rgb(181, 197, 47); /* oklch */ color: oklch(78.5% 0.165 115.7);
Tailwind
colors: {
custom: {
50: '#cfd674',
500: '#b5c52f',
950: '#000000',
},
}SCSS
$custom: #b5c52f; $custom-light: #cfd674; $custom-dark: #000000;
JSON
{
"hex": "#b5c52f",
"rgb": {
"r": 181,
"g": 197,
"b": 47
},
"hsl": {
"h": 66.4,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.78546,
"c": 0.16493,
"h": 115.7
},
"luminance": 0.49961
}Semantic roles & 50–950 ramp
primary
#B5C52F
secondary
#8A82CD
accent
#43E554
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B