#B4C52F#B4C52F
#B4C52F is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.5% C 0.165 H 116.1°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C52F |
|---|---|
| RGB | rgb(180, 197, 47) |
| HSL | hsl(67, 61%, 48%) |
| HSV | hsv(67, 76%, 77%) |
| CMYK | cmyk(8.6%, 0%, 76.1%, 22.7%) |
| CIE-LAB | lab(75.97, -23.93, 67.62) |
| CIE-LCH | lch(75.97, 71.73, 109.48°) |
| OKLab | oklab(78.47% -0.0727 0.1484) |
| OKLCH | oklch(78.47% 0.165 116.1) |
| XYZ | xyz(39.3028, 49.8416, 10.2387) |
| Luminance | 0.4984 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.20
Baby Puke Green
#B6C406
ΔE00 2.23
Pea
#A4BF20
ΔE00 2.88
Snot
#ACBB0D
ΔE00 2.92
Green Yellow
#B5CE08
ΔE00 3.07
Gross Green
#A0BF16
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C52F #402FC5
analogous
#C58B2F #B4C52F #69C52F
triadic
#B4C52F #2FB4C5 #C52FB4
tetradic
#B4C52F #2FC58B #402FC5 #C52F69
square
#B4C52F #2FC58B #402FC5 #C52F69
split-complementary
#B4C52F #2F69C5 #8B2FC5
monochromatic
#5A6217 #879423 #B4C52F #C9D85A #D9E38B
Accessibility & contrast
On white
1.91
#B4C52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.97
#B4C52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C52F
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C52F | 1.00 | 1.91 | 10.97 | 10.97 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BB04
Deuteranopia (green-blind)
#D2BC3D
Tritanopia (blue-blind)
#C0BAA9
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #b4c52f; /* rgb */ color: rgb(180, 197, 47); /* oklch */ color: oklch(78.5% 0.165 116.1);
Tailwind
colors: {
custom: {
50: '#ced674',
500: '#b4c52f',
950: '#000000',
},
}SCSS
$custom: #b4c52f; $custom-light: #ced674; $custom-dark: #000000;
JSON
{
"hex": "#b4c52f",
"rgb": {
"r": 180,
"g": 197,
"b": 47
},
"hsl": {
"h": 66.8,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.78468,
"c": 0.16526,
"h": 116.1
},
"luminance": 0.49841
}Semantic roles & 50–950 ramp
primary
#B4C52F
secondary
#8B82CD
accent
#43E556
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B