#BFCF51#BFCF51
#BFCF51 is a light, vivid yellow. Relative luminance 0.563; OKLCH L 81.8% C 0.150 H 115.9°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #BFCF51 |
|---|---|
| RGB | rgb(191, 207, 81) |
| HSL | hsl(68, 57%, 56%) |
| HSV | hsv(68, 61%, 81%) |
| CMYK | cmyk(7.7%, 0%, 60.9%, 18.8%) |
| CIE-LAB | lab(79.78, -22.34, 59.03) |
| CIE-LCH | lch(79.78, 63.11, 110.73°) |
| OKLab | oklab(81.8% -0.0658 0.1353) |
| OKLCH | oklch(81.8% 0.15 115.9) |
| XYZ | xyz(45.2848, 56.2967, 16.2638) |
| Luminance | 0.5630 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 4.66
Baby Puke Green
#B6C406
ΔE00 5.25
Greenish Beige
#C9D179
ΔE00 5.27
Bile
#B5C306
ΔE00 5.35
Pea
#A4BF20
ΔE00 5.64
Gross Green
#A0BF16
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFCF51 #6151CF
analogous
#CFA051 #BFCF51 #80CF51
triadic
#BFCF51 #51BFCF #CF51BF
tetradic
#BFCF51 #51CFA0 #6151CF #CF5180
square
#BFCF51 #51CFA0 #6151CF #CF5180
split-complementary
#BFCF51 #5180CF #A051CF
monochromatic
#768224 #A1B231 #BFCF51 #D1DC81 #E2E9B1
Accessibility & contrast
On white
1.71
#BFCF51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.26
#BFCF51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFCF51
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFCF51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFCF51 | 1.00 | 1.71 | 12.26 | 12.26 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DCC542
Deuteranopia (green-blind)
#DBC759
Tritanopia (blue-blind)
#CAC4B4
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #bfcf51; /* rgb */ color: rgb(191, 207, 81); /* oklch */ color: oklch(81.8% 0.150 115.9);
Tailwind
colors: {
custom: {
50: '#d5dd87',
500: '#bfcf51',
950: '#000000',
},
}SCSS
$custom: #bfcf51; $custom-light: #d5dd87; $custom-dark: #000000;
JSON
{
"hex": "#bfcf51",
"rgb": {
"r": 191,
"g": 207,
"b": 81
},
"hsl": {
"h": 67.619,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.81801,
"c": 0.1504,
"h": 115.9
},
"luminance": 0.56296
}Semantic roles & 50–950 ramp
primary
#BFCF51
secondary
#453B89
accent
#48E05B
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#15150C
muted
#84847F