#BFA72A#BFA72A
#BFA72A is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.9% C 0.138 H 97.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #BFA72A |
|---|---|
| RGB | rgb(191, 167, 42) |
| HSL | hsl(50, 64%, 46%) |
| HSV | hsv(50, 78%, 75%) |
| CMYK | cmyk(0%, 12.6%, 78%, 25.1%) |
| CIE-LAB | lab(68.67, -4.10, 62.87) |
| CIE-LCH | lch(68.67, 63.00, 93.73°) |
| OKLab | oklab(72.85% -0.0184 0.1369) |
| OKLCH | oklch(72.85% 0.138 97.6) |
| XYZ | xyz(35.7244, 38.8829, 7.8135) |
| Luminance | 0.3888 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.93
Brownish Yellow
#C9B003
ΔE00 3.66
Mustard (survey)
#CEB301
ΔE00 4.54
Ocher
#BF9B0C
ΔE00 4.57
Brown Yellow
#B29705
ΔE00 4.83
Dark Yellow
#D5B60A
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFA72A #2A42BF
analogous
#BF5D2A #BFA72A #8CBF2A
triadic
#BFA72A #2ABFA7 #A72ABF
tetradic
#BFA72A #2ABF5D #2A42BF #BF2A8C
square
#BFA72A #2ABF5D #2A42BF #BF2A8C
split-complementary
#BFA72A #2A8CBF #5D2ABF
monochromatic
#5B4F14 #8D7B1F #BFA72A #D8C24E #E3D380
Accessibility & contrast
On white
2.39
#BFA72A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#BFA72A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFA72A
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFA72A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFA72A | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A30C
Deuteranopia (green-blind)
#BFAB33
Tritanopia (blue-blind)
#CE9A8F
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #bfa72a; /* rgb */ color: rgb(191, 167, 42); /* oklch */ color: oklch(72.9% 0.138 97.6);
Tailwind
colors: {
custom: {
50: '#d7c06e',
500: '#bfa72a',
950: '#000000',
},
}SCSS
$custom: #bfa72a; $custom-light: #d7c06e; $custom-dark: #000000;
JSON
{
"hex": "#bfa72a",
"rgb": {
"r": 191,
"g": 167,
"b": 42
},
"hsl": {
"h": 50.336,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.72852,
"c": 0.13811,
"h": 97.6
},
"luminance": 0.38881
}Semantic roles & 50–950 ramp
primary
#BFA72A
secondary
#7986CC
accent
#5CE741
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B