#B4BF37#B4BF37
#B4BF37 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.2% C 0.154 H 114.0°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B4BF37 |
|---|---|
| RGB | rgb(180, 191, 55) |
| HSL | hsl(65, 55%, 48%) |
| HSV | hsv(65, 71%, 75%) |
| CMYK | cmyk(5.8%, 0%, 71.2%, 25.1%) |
| CIE-LAB | lab(74.34, -20.61, 63.41) |
| CIE-LCH | lch(74.34, 66.67, 108.00°) |
| OKLab | oklab(77.18% -0.0628 0.1409) |
| OKLCH | oklch(77.18% 0.154 114) |
| XYZ | xyz(38.1439, 47.2415, 10.7228) |
| Luminance | 0.4724 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.57
Bile
#B5C306
ΔE00 2.98
Baby Puke Green
#B6C406
ΔE00 3.12
Pea
#A4BF20
ΔE00 3.43
Mustard Green
#A8B504
ΔE00 3.54
Gross Green
#A0BF16
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4BF37 #4237BF
analogous
#BF8637 #B4BF37 #70BF37
triadic
#B4BF37 #37B4BF #BF37B4
tetradic
#B4BF37 #37BF86 #4237BF #BF3770
square
#B4BF37 #37BF86 #4237BF #BF3770
split-complementary
#B4BF37 #3770BF #8637BF
monochromatic
#5A601C #878F29 #B4BF37 #C9D262 #D9DF91
Accessibility & contrast
On white
2.01
#B4BF37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.45
#B4BF37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4BF37
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4BF37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4BF37 | 1.00 | 2.01 | 10.45 | 10.45 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB61F
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#C0B4A5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #b4bf37; /* rgb */ color: rgb(180, 191, 55); /* oklch */ color: oklch(77.2% 0.154 114.0);
Tailwind
colors: {
custom: {
50: '#ced277',
500: '#b4bf37',
950: '#000000',
},
}SCSS
$custom: #b4bf37; $custom-light: #ced277; $custom-dark: #000000;
JSON
{
"hex": "#b4bf37",
"rgb": {
"r": 180,
"g": 191,
"b": 55
},
"hsl": {
"h": 64.853,
"s": 55.285,
"l": 48.235
},
"oklch": {
"l": 0.77176,
"c": 0.15424,
"h": 114
},
"luminance": 0.47241
}Semantic roles & 50–950 ramp
primary
#B4BF37
secondary
#8D88CA
accent
#49DF55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B