#BFA42A#BFA42A
#BFA42A is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.136 H 95.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #BFA42A |
|---|---|
| RGB | rgb(191, 164, 42) |
| HSL | hsl(49, 64%, 46%) |
| HSV | hsv(49, 78%, 75%) |
| CMYK | cmyk(0%, 14.1%, 78%, 25.1%) |
| CIE-LAB | lab(67.87, -2.51, 62.14) |
| CIE-LCH | lch(67.87, 62.19, 92.31°) |
| OKLab | oklab(72.22% -0.0138 0.1353) |
| OKLCH | oklch(72.22% 0.136 95.8) |
| XYZ | xyz(35.1811, 37.7964, 7.6324) |
| Luminance | 0.3779 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.52
Muddy Yellow
#BFAC05
ΔE00 3.92
Brown Yellow
#B29705
ΔE00 4.10
Brownish Yellow
#C9B003
ΔE00 4.43
Ocre
#C69C04
ΔE00 4.62
Dark Gold
#B59410
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFA42A #2A45BF
analogous
#BF5A2A #BFA42A #8FBF2A
triadic
#BFA42A #2ABFA4 #A42ABF
tetradic
#BFA42A #2ABF5A #2A45BF #BF2A8F
square
#BFA42A #2ABF5A #2A45BF #BF2A8F
split-complementary
#BFA42A #2A8FBF #5A2ABF
monochromatic
#5B4E14 #8D791F #BFA42A #D8BF4E #E3D180
Accessibility & contrast
On white
2.45
#BFA42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#BFA42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFA42A
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFA42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFA42A | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A00E
Deuteranopia (green-blind)
#BCA932
Tritanopia (blue-blind)
#CF978D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #bfa42a; /* rgb */ color: rgb(191, 164, 42); /* oklch */ color: oklch(72.2% 0.136 95.8);
Tailwind
colors: {
custom: {
50: '#d7be6e',
500: '#bfa42a',
950: '#000000',
},
}SCSS
$custom: #bfa42a; $custom-light: #d7be6e; $custom-dark: #000000;
JSON
{
"hex": "#bfa42a",
"rgb": {
"r": 191,
"g": 164,
"b": 42
},
"hsl": {
"h": 49.128,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.72222,
"c": 0.13605,
"h": 95.8
},
"luminance": 0.37794
}Semantic roles & 50–950 ramp
primary
#BFA42A
secondary
#7988CC
accent
#5FE741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B