#B7BF48#B7BF48
#B7BF48 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.6% C 0.141 H 112.9°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BF48 |
|---|---|
| RGB | rgb(183, 191, 72) |
| HSL | hsl(64, 48%, 52%) |
| HSV | hsv(64, 62%, 75%) |
| CMYK | cmyk(4.2%, 0%, 62.3%, 25.1%) |
| CIE-LAB | lab(74.70, -18.35, 57.18) |
| CIE-LCH | lch(74.70, 60.05, 107.79°) |
| OKLab | oklab(77.55% -0.055 0.1303) |
| OKLCH | oklch(77.55% 0.141 112.9) |
| XYZ | xyz(39.3300, 47.7976, 13.2837) |
| Luminance | 0.4780 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.20
Bile
#B5C306
ΔE00 4.60
Pea
#A4BF20
ΔE00 4.68
Baby Puke Green
#B6C406
ΔE00 4.70
Mustard Green
#A8B504
ΔE00 4.85
Sick Green
#9DB92C
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BF48 #5048BF
analogous
#BF8C48 #B7BF48 #7CBF48
triadic
#B7BF48 #48B7BF #BF48B7
tetradic
#B7BF48 #48BF8C #5048BF #BF487C
square
#B7BF48 #48BF8C #5048BF #BF487C
split-complementary
#B7BF48 #487CBF #8C48BF
monochromatic
#646824 #8F9634 #B7BF48 #C9CF75 #DBDFA3
Accessibility & contrast
On white
1.99
#B7BF48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.56
#B7BF48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BF48
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BF48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BF48 | 1.00 | 1.99 | 10.56 | 10.56 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB639
Deuteranopia (green-blind)
#CDB950
Tritanopia (blue-blind)
#C3B4A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b7bf48; /* rgb */ color: rgb(183, 191, 72); /* oklch */ color: oklch(77.6% 0.141 112.9);
Tailwind
colors: {
custom: {
50: '#cfd280',
500: '#b7bf48',
950: '#000000',
},
}SCSS
$custom: #b7bf48; $custom-light: #cfd280; $custom-dark: #000000;
JSON
{
"hex": "#b7bf48",
"rgb": {
"r": 183,
"g": 191,
"b": 72
},
"hsl": {
"h": 64.034,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.77554,
"c": 0.14145,
"h": 112.9
},
"luminance": 0.47797
}Semantic roles & 50–950 ramp
primary
#B7BF48
secondary
#9B97CC
accent
#50D859
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C