#BFA62A#BFA62A
#BFA62A is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.6% C 0.137 H 97.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #BFA62A |
|---|---|
| RGB | rgb(191, 166, 42) |
| HSL | hsl(50, 64%, 46%) |
| HSV | hsv(50, 78%, 75%) |
| CMYK | cmyk(0%, 13.1%, 78%, 25.1%) |
| CIE-LAB | lab(68.40, -3.57, 62.62) |
| CIE-LCH | lch(68.40, 62.73, 93.27°) |
| OKLab | oklab(72.64% -0.0168 0.1364) |
| OKLCH | oklch(72.64% 0.137 97) |
| XYZ | xyz(35.5419, 38.5179, 7.7527) |
| Luminance | 0.3852 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.24
Brownish Yellow
#C9B003
ΔE00 3.89
Ocher
#BF9B0C
ΔE00 4.22
Brown Yellow
#B29705
ΔE00 4.57
Mustard (survey)
#CEB301
ΔE00 4.75
Ocre
#C69C04
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFA62A #2A43BF
analogous
#BF5B2A #BFA62A #8DBF2A
triadic
#BFA62A #2ABFA6 #A62ABF
tetradic
#BFA62A #2ABF5B #2A43BF #BF2A8D
square
#BFA62A #2ABF5B #2A43BF #BF2A8D
split-complementary
#BFA62A #2A8DBF #5B2ABF
monochromatic
#5B4F14 #8D7A1F #BFA62A #D8C14E #E3D380
Accessibility & contrast
On white
2.41
#BFA62A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#BFA62A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFA62A
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFA62A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFA62A | 1.00 | 2.41 | 8.70 | 8.70 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A20D
Deuteranopia (green-blind)
#BEAA33
Tritanopia (blue-blind)
#CF998F
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #bfa62a; /* rgb */ color: rgb(191, 166, 42); /* oklch */ color: oklch(72.6% 0.137 97.0);
Tailwind
colors: {
custom: {
50: '#d7c06e',
500: '#bfa62a',
950: '#000000',
},
}SCSS
$custom: #bfa62a; $custom-light: #d7c06e; $custom-dark: #000000;
JSON
{
"hex": "#bfa62a",
"rgb": {
"r": 191,
"g": 166,
"b": 42
},
"hsl": {
"h": 49.933,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.72642,
"c": 0.13741,
"h": 97
},
"luminance": 0.38516
}Semantic roles & 50–950 ramp
primary
#BFA62A
secondary
#7987CC
accent
#5DE741
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151208
muted
#83817B