#B4BF30#B4BF30
#B4BF30 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.1% C 0.158 H 114.0°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BF30 |
|---|---|
| RGB | rgb(180, 191, 48) |
| HSL | hsl(65, 60%, 47%) |
| HSV | hsv(65, 75%, 75%) |
| CMYK | cmyk(5.8%, 0%, 74.9%, 25.1%) |
| CIE-LAB | lab(74.30, -20.94, 65.76) |
| CIE-LCH | lch(74.30, 69.01, 107.66°) |
| OKLab | oklab(77.13% -0.0644 0.1446) |
| OKLCH | oklch(77.13% 0.158 114) |
| XYZ | xyz(37.9878, 47.1791, 9.9011) |
| Luminance | 0.4718 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.10
Bile
#B5C306
ΔE00 2.42
Baby Puke Green
#B6C406
ΔE00 2.58
Mustard Green
#A8B504
ΔE00 3.21
Pea
#A4BF20
ΔE00 3.37
Gross Green
#A0BF16
ΔE00 4.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BF30 #3B30BF
analogous
#BF8230 #B4BF30 #6DBF30
triadic
#B4BF30 #30B4BF #BF30B4
tetradic
#B4BF30 #30BF82 #3B30BF #BF306D
square
#B4BF30 #30BF82 #3B30BF #BF306D
split-complementary
#B4BF30 #306DBF #8230BF
monochromatic
#585D17 #868E24 #B4BF30 #CBD557 #DAE188
Accessibility & contrast
On white
2.01
#B4BF30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.44
#B4BF30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BF30
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BF30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BF30 | 1.00 | 2.01 | 10.44 | 10.44 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB50E
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#C0B3A4
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b4bf30; /* rgb */ color: rgb(180, 191, 48); /* oklch */ color: oklch(77.1% 0.158 114.0);
Tailwind
colors: {
custom: {
50: '#ced274',
500: '#b4bf30',
950: '#000000',
},
}SCSS
$custom: #b4bf30; $custom-light: #ced274; $custom-dark: #000000;
JSON
{
"hex": "#b4bf30",
"rgb": {
"r": 180,
"g": 191,
"b": 48
},
"hsl": {
"h": 64.615,
"s": 59.833,
"l": 46.863
},
"oklch": {
"l": 0.77131,
"c": 0.1583,
"h": 114
},
"luminance": 0.47178
}Semantic roles & 50–950 ramp
primary
#B4BF30
secondary
#8680CB
accent
#45E351
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B