#BFA340#BFA340
#BFA340 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.2% C 0.121 H 93.2°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #BFA340 |
|---|---|
| RGB | rgb(191, 163, 64) |
| HSL | hsl(47, 50%, 50%) |
| HSV | hsv(47, 66%, 75%) |
| CMYK | cmyk(0%, 14.7%, 66.5%, 25.1%) |
| CIE-LAB | lab(67.76, -0.90, 53.44) |
| CIE-LCH | lch(67.76, 53.45, 90.97°) |
| OKLab | oklab(72.18% -0.0068 0.121) |
| OKLCH | oklch(72.18% 0.121 93.2) |
| XYZ | xyz(35.5102, 37.6428, 10.2449) |
| Luminance | 0.3764 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.50
Desert
#CCAD60
ΔE00 4.89
Sandy Brown
#C4A661
ΔE00 5.18
Brown Yellow
#B29705
ΔE00 5.22
Dark Gold
#B59410
ΔE00 5.33
Ocre
#C69C04
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFA340 #405CBF
analogous
#BF6440 #BFA340 #9BBF40
triadic
#BFA340 #40BFA3 #A340BF
tetradic
#BFA340 #40BF64 #405CBF #BF409B
square
#BFA340 #40BF64 #405CBF #BF409B
split-complementary
#BFA340 #409BBF #6440BF
monochromatic
#635521 #917C31 #BFA340 #CEB96E #DECF9C
Accessibility & contrast
On white
2.46
#BFA340 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#BFA340 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFA340
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFA340 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFA340 | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A034
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#CE978E
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #bfa340; /* rgb */ color: rgb(191, 163, 64); /* oklch */ color: oklch(72.2% 0.121 93.2);
Tailwind
colors: {
custom: {
50: '#d6bd7a',
500: '#bfa340',
950: '#000000',
},
}SCSS
$custom: #bfa340; $custom-light: #d6bd7a; $custom-dark: #000000;
JSON
{
"hex": "#bfa340",
"rgb": {
"r": 191,
"g": 163,
"b": 64
},
"hsl": {
"h": 46.772,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.7218,
"c": 0.12117,
"h": 93.2
},
"luminance": 0.37641
}Semantic roles & 50–950 ramp
primary
#BFA340
secondary
#919DCA
accent
#6DD94E
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B