#BFA62F#BFA62F
#BFA62F is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.7% C 0.135 H 96.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #BFA62F |
|---|---|
| RGB | rgb(191, 166, 47) |
| HSL | hsl(50, 61%, 47%) |
| HSV | hsv(50, 75%, 75%) |
| CMYK | cmyk(0%, 13.1%, 75.4%, 25.1%) |
| CIE-LAB | lab(68.43, -3.37, 60.92) |
| CIE-LCH | lch(68.43, 61.02, 93.17°) |
| OKLab | oklab(72.67% -0.0158 0.1337) |
| OKLCH | oklch(72.67% 0.135 96.7) |
| XYZ | xyz(35.6370, 38.5559, 8.2537) |
| Luminance | 0.3855 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.60
Brownish Yellow
#C9B003
ΔE00 4.22
Ocher
#BF9B0C
ΔE00 4.31
Brown Yellow
#B29705
ΔE00 4.68
Mustard (survey)
#CEB301
ΔE00 5.04
Ocre
#C69C04
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFA62F #2F48BF
analogous
#BF5E2F #BFA62F #90BF2F
triadic
#BFA62F #2FBFA6 #A62FBF
tetradic
#BFA62F #2FBF5E #2F48BF #BF2F90
square
#BFA62F #2FBF5E #2F48BF #BF2F90
split-complementary
#BFA62F #2F90BF #5E2FBF
monochromatic
#5D5117 #8E7B23 #BFA62F #D5BF56 #E1D287
Accessibility & contrast
On white
2.41
#BFA62F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#BFA62F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFA62F
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFA62F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFA62F | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A219
Deuteranopia (green-blind)
#BEAA37
Tritanopia (blue-blind)
#CE998F
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #bfa62f; /* rgb */ color: rgb(191, 166, 47); /* oklch */ color: oklch(72.7% 0.135 96.7);
Tailwind
colors: {
custom: {
50: '#d6c070',
500: '#bfa62f',
950: '#000000',
},
}SCSS
$custom: #bfa62f; $custom-light: #d6c070; $custom-dark: #000000;
JSON
{
"hex": "#bfa62f",
"rgb": {
"r": 191,
"g": 166,
"b": 47
},
"hsl": {
"h": 49.583,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.72673,
"c": 0.13467,
"h": 96.7
},
"luminance": 0.38554
}Semantic roles & 50–950 ramp
primary
#BFA62F
secondary
#7F8CCB
accent
#60E444
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B