#B4BF24#B4BF24
#B4BF24 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.1% C 0.164 H 113.9°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BF24 |
|---|---|
| RGB | rgb(180, 191, 36) |
| HSL | hsl(64, 68%, 45%) |
| HSV | hsv(64, 81%, 75%) |
| CMYK | cmyk(5.8%, 0%, 81.2%, 25.1%) |
| CIE-LAB | lab(74.25, -21.40, 69.23) |
| CIE-LCH | lch(74.25, 72.46, 107.18°) |
| OKLab | oklab(77.07% -0.0666 0.1499) |
| OKLCH | oklch(77.07% 0.164 113.9) |
| XYZ | xyz(37.7728, 47.0931, 8.7688) |
| Luminance | 0.4709 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.62
Bile
#B5C306
ΔE00 1.68
Baby Puke Green
#B6C406
ΔE00 1.87
Mustard Green
#A8B504
ΔE00 2.92
Pea
#A4BF20
ΔE00 3.49
Puke Yellow
#C2BE0E
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BF24 #2F24BF
analogous
#BF7D24 #B4BF24 #67BF24
triadic
#B4BF24 #24B4BF #BF24B4
tetradic
#B4BF24 #24BF7D #2F24BF #BF2467
square
#B4BF24 #24BF7D #2F24BF #BF2467
split-complementary
#B4BF24 #2467BF #7D24BF
monochromatic
#535811 #838C1A #B4BF24 #D1DC44 #DEE678
Accessibility & contrast
On white
2.02
#B4BF24 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.42
#B4BF24 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BF24
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BF24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BF24 | 1.00 | 2.02 | 10.42 | 10.42 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB500
Deuteranopia (green-blind)
#CDB834
Tritanopia (blue-blind)
#C0B3A3
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b4bf24; /* rgb */ color: rgb(180, 191, 36); /* oklch */ color: oklch(77.1% 0.164 113.9);
Tailwind
colors: {
custom: {
50: '#ced26e',
500: '#b4bf24',
950: '#000000',
},
}SCSS
$custom: #b4bf24; $custom-light: #ced26e; $custom-dark: #000000;
JSON
{
"hex": "#b4bf24",
"rgb": {
"r": 180,
"g": 191,
"b": 36
},
"hsl": {
"h": 64.258,
"s": 68.282,
"l": 44.51
},
"oklch": {
"l": 0.77069,
"c": 0.16404,
"h": 113.9
},
"luminance": 0.47092
}Semantic roles & 50–950 ramp
primary
#B4BF24
secondary
#7872CD
accent
#3DEB49
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B