#BFA52A#BFA52A
#BFA52A is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.4% C 0.137 H 96.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #BFA52A |
|---|---|
| RGB | rgb(191, 165, 42) |
| HSL | hsl(50, 64%, 46%) |
| HSV | hsv(50, 78%, 75%) |
| CMYK | cmyk(0%, 13.6%, 78%, 25.1%) |
| CIE-LAB | lab(68.14, -3.04, 62.38) |
| CIE-LCH | lch(68.14, 62.46, 92.79°) |
| OKLab | oklab(72.43% -0.0153 0.1359) |
| OKLCH | oklch(72.43% 0.137 96.4) |
| XYZ | xyz(35.3608, 38.1557, 7.6923) |
| Luminance | 0.3815 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.58
Ocher
#BF9B0C
ΔE00 3.86
Brownish Yellow
#C9B003
ΔE00 4.15
Brown Yellow
#B29705
ΔE00 4.32
Ocre
#C69C04
ΔE00 4.95
Mustard (survey)
#CEB301
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFA52A #2A44BF
analogous
#BF5A2A #BFA52A #8EBF2A
triadic
#BFA52A #2ABFA5 #A52ABF
tetradic
#BFA52A #2ABF5A #2A44BF #BF2A8E
square
#BFA52A #2ABF5A #2A44BF #BF2A8E
split-complementary
#BFA52A #2A8EBF #5A2ABF
monochromatic
#5B4E14 #8D7A1F #BFA52A #D8C04E #E3D280
Accessibility & contrast
On white
2.43
#BFA52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.63
#BFA52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFA52A
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFA52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFA52A | 1.00 | 2.43 | 8.63 | 8.63 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A10E
Deuteranopia (green-blind)
#BDAA32
Tritanopia (blue-blind)
#CF988E
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #bfa52a; /* rgb */ color: rgb(191, 165, 42); /* oklch */ color: oklch(72.4% 0.137 96.4);
Tailwind
colors: {
custom: {
50: '#d7bf6e',
500: '#bfa52a',
950: '#000000',
},
}SCSS
$custom: #bfa52a; $custom-light: #d7bf6e; $custom-dark: #000000;
JSON
{
"hex": "#bfa52a",
"rgb": {
"r": 191,
"g": 165,
"b": 42
},
"hsl": {
"h": 49.53,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.72432,
"c": 0.13671,
"h": 96.4
},
"luminance": 0.38154
}Semantic roles & 50–950 ramp
primary
#BFA52A
secondary
#7987CC
accent
#5EE741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B