#BFA62E#BFA62E
#BFA62E is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.7% C 0.135 H 96.8°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #BFA62E |
|---|---|
| RGB | rgb(191, 166, 46) |
| HSL | hsl(50, 61%, 46%) |
| HSV | hsv(50, 76%, 75%) |
| CMYK | cmyk(0%, 13.1%, 75.9%, 25.1%) |
| CIE-LAB | lab(68.42, -3.41, 61.27) |
| CIE-LCH | lch(68.42, 61.37, 93.19°) |
| OKLab | oklab(72.67% -0.016 0.1343) |
| OKLCH | oklch(72.67% 0.135 96.8) |
| XYZ | xyz(35.6171, 38.5480, 8.1487) |
| Luminance | 0.3855 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.52
Brownish Yellow
#C9B003
ΔE00 4.15
Ocher
#BF9B0C
ΔE00 4.29
Brown Yellow
#B29705
ΔE00 4.65
Mustard (survey)
#CEB301
ΔE00 4.97
Ocre
#C69C04
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFA62E #2E47BF
analogous
#BF5E2E #BFA62E #90BF2E
triadic
#BFA62E #2EBFA6 #A62EBF
tetradic
#BFA62E #2EBF5E #2E47BF #BF2E90
square
#BFA62E #2EBF5E #2E47BF #BF2E90
split-complementary
#BFA62E #2E90BF #5E2EBF
monochromatic
#5C5016 #8E7B22 #BFA62E #D6C054 #E2D286
Accessibility & contrast
On white
2.41
#BFA62E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#BFA62E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFA62E
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFA62E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFA62E | 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)
#B7A217
Deuteranopia (green-blind)
#BEAA36
Tritanopia (blue-blind)
#CE998F
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #bfa62e; /* rgb */ color: rgb(191, 166, 46); /* oklch */ color: oklch(72.7% 0.135 96.8);
Tailwind
colors: {
custom: {
50: '#d6c070',
500: '#bfa62e',
950: '#000000',
},
}SCSS
$custom: #bfa62e; $custom-light: #d6c070; $custom-dark: #000000;
JSON
{
"hex": "#bfa62e",
"rgb": {
"r": 191,
"g": 166,
"b": 46
},
"hsl": {
"h": 49.655,
"s": 61.181,
"l": 46.471
},
"oklch": {
"l": 0.72666,
"c": 0.13524,
"h": 96.8
},
"luminance": 0.38546
}Semantic roles & 50–950 ramp
primary
#BFA62E
secondary
#7E8BCB
accent
#5FE444
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B