#B8BF51#B8BF51
#B8BF51 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.7% C 0.134 H 112.5°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #B8BF51 |
|---|---|
| RGB | rgb(184, 191, 81) |
| HSL | hsl(64, 46%, 53%) |
| HSV | hsv(64, 58%, 75%) |
| CMYK | cmyk(3.7%, 0%, 57.6%, 25.1%) |
| CIE-LAB | lab(74.85, -17.28, 53.45) |
| CIE-LCH | lch(74.85, 56.18, 107.92°) |
| OKLab | oklab(77.72% -0.0511 0.1236) |
| OKLCH | oklch(77.72% 0.134 112.5) |
| XYZ | xyz(39.8841, 48.0468, 14.9559) |
| Luminance | 0.4805 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 5.23
Light Olive
#ACBF69
ΔE00 5.25
Light Olive Green
#A4BE5C
ΔE00 5.39
Pea
#A4BF20
ΔE00 5.49
Bile
#B5C306
ΔE00 5.65
Sick Green
#9DB92C
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8BF51 #5851BF
analogous
#BF8F51 #B8BF51 #81BF51
triadic
#B8BF51 #51B8BF #BF51B8
tetradic
#B8BF51 #51BF8F #5851BF #BF5181
square
#B8BF51 #51BF8F #5851BF #BF5181
split-complementary
#B8BF51 #5181BF #8F51BF
monochromatic
#696D28 #949A39 #B8BF51 #CACF7E #DDE0AA
Accessibility & contrast
On white
1.98
#B8BF51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.61
#B8BF51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B8BF51
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8BF51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B8BF51 | 1.00 | 1.98 | 10.61 | 10.61 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB745
Deuteranopia (green-blind)
#CCBA57
Tritanopia (blue-blind)
#C3B5A7
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b8bf51; /* rgb */ color: rgb(184, 191, 81); /* oklch */ color: oklch(77.7% 0.134 112.5);
Tailwind
colors: {
custom: {
50: '#d0d286',
500: '#b8bf51',
950: '#000000',
},
}SCSS
$custom: #b8bf51; $custom-light: #d0d286; $custom-dark: #000000;
JSON
{
"hex": "#b8bf51",
"rgb": {
"r": 184,
"g": 191,
"b": 81
},
"hsl": {
"h": 63.818,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.77725,
"c": 0.13372,
"h": 112.5
},
"luminance": 0.48046
}Semantic roles & 50–950 ramp
primary
#B8BF51
secondary
#A19ECE
accent
#52D65A
background
#FDFCF8
surface
#FAF9F0
border
#D3D2CB
text
#14140B
muted
#83827C