#B7BF45#B7BF45
#B7BF45 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.5% C 0.144 H 112.9°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B7BF45 |
|---|---|
| RGB | rgb(183, 191, 69) |
| HSL | hsl(64, 49%, 51%) |
| HSV | hsv(64, 64%, 75%) |
| CMYK | cmyk(4.2%, 0%, 63.9%, 25.1%) |
| CIE-LAB | lab(74.67, -18.54, 58.41) |
| CIE-LCH | lch(74.67, 61.28, 107.61°) |
| OKLab | oklab(77.53% -0.0559 0.1325) |
| OKLCH | oklch(77.53% 0.144 112.9) |
| XYZ | xyz(39.2345, 47.7594, 12.7807) |
| Luminance | 0.4776 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.90
Bile
#B5C306
ΔE00 4.27
Baby Puke Green
#B6C406
ΔE00 4.38
Pea
#A4BF20
ΔE00 4.51
Mustard Green
#A8B504
ΔE00 4.60
Sick Green
#9DB92C
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7BF45 #4D45BF
analogous
#BF8A45 #B7BF45 #7ABF45
triadic
#B7BF45 #45B7BF #BF45B7
tetradic
#B7BF45 #45BF8A #4D45BF #BF457A
square
#B7BF45 #45BF8A #4D45BF #BF457A
split-complementary
#B7BF45 #457ABF #8A45BF
monochromatic
#626623 #8E9433 #B7BF45 #C9CF73 #DADEA0
Accessibility & contrast
On white
1.99
#B7BF45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.55
#B7BF45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7BF45
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7BF45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7BF45 | 1.00 | 1.99 | 10.55 | 10.55 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB635
Deuteranopia (green-blind)
#CDB94D
Tritanopia (blue-blind)
#C3B4A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b7bf45; /* rgb */ color: rgb(183, 191, 69); /* oklch */ color: oklch(77.5% 0.144 112.9);
Tailwind
colors: {
custom: {
50: '#cfd27f',
500: '#b7bf45',
950: '#000000',
},
}SCSS
$custom: #b7bf45; $custom-light: #cfd27f; $custom-dark: #000000;
JSON
{
"hex": "#b7bf45",
"rgb": {
"r": 183,
"g": 191,
"b": 69
},
"hsl": {
"h": 63.934,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.77527,
"c": 0.14377,
"h": 112.9
},
"luminance": 0.47759
}Semantic roles & 50–950 ramp
primary
#B7BF45
secondary
#9895CB
accent
#4FD858
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C