#BFCB40#BFCB40
#BFCB40 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 80.8% C 0.158 H 114.2°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BFCB40 |
|---|---|
| RGB | rgb(191, 203, 64) |
| HSL | hsl(65, 57%, 52%) |
| HSV | hsv(65, 68%, 80%) |
| CMYK | cmyk(5.9%, 0%, 68.5%, 20.4%) |
| CIE-LAB | lab(78.55, -21.45, 64.55) |
| CIE-LCH | lch(78.55, 68.02, 108.38°) |
| OKLab | oklab(80.77% -0.065 0.1444) |
| OKLCH | oklch(80.77% 0.158 114.2) |
| XYZ | xyz(43.7684, 54.1592, 12.9976) |
| Luminance | 0.5416 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 3.36
Bile
#B5C306
ΔE00 3.47
Green Yellow
#B5CE08
ΔE00 3.58
Snot
#ACBB0D
ΔE00 4.79
Pea
#A4BF20
ΔE00 4.94
Puke Yellow
#C2BE0E
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFCB40 #4C40CB
analogous
#CB9240 #BFCB40 #79CB40
triadic
#BFCB40 #40BFCB #CB40BF
tetradic
#BFCB40 #40CB92 #4C40CB #CB4079
square
#BFCB40 #40CB92 #4C40CB #CB4079
split-complementary
#BFCB40 #4079CB #9240CB
monochromatic
#6B721F #98A22C #BFCB40 #CFD870 #DFE5A0
Accessibility & contrast
On white
1.77
#BFCB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.83
#BFCB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFCB40
11.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFCB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFCB40 | 1.00 | 1.77 | 11.83 | 11.83 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C12A
Deuteranopia (green-blind)
#D9C44A
Tritanopia (blue-blind)
#CBBFAF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #bfcb40; /* rgb */ color: rgb(191, 203, 64); /* oklch */ color: oklch(80.8% 0.158 114.2);
Tailwind
colors: {
custom: {
50: '#d6da7d',
500: '#bfcb40',
950: '#000000',
},
}SCSS
$custom: #bfcb40; $custom-light: #d6da7d; $custom-dark: #000000;
JSON
{
"hex": "#bfcb40",
"rgb": {
"r": 191,
"g": 203,
"b": 64
},
"hsl": {
"h": 65.18,
"s": 57.202,
"l": 52.353
},
"oklch": {
"l": 0.80775,
"c": 0.15837,
"h": 114.2
},
"luminance": 0.54158
}Semantic roles & 50–950 ramp
primary
#BFCB40
secondary
#3B357B
accent
#47E055
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D