#BFA142#BFA142
#BFA142 is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.8% C 0.118 H 91.5°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #BFA142 |
|---|---|
| RGB | rgb(191, 161, 66) |
| HSL | hsl(46, 49%, 50%) |
| HSV | hsv(46, 65%, 75%) |
| CMYK | cmyk(0%, 15.7%, 65.4%, 25.1%) |
| CIE-LAB | lab(67.25, 0.29, 52.01) |
| CIE-LCH | lch(67.25, 52.01, 89.68°) |
| OKLab | oklab(71.78% -0.0031 0.1183) |
| OKLCH | oklch(71.78% 0.118 91.5) |
| XYZ | xyz(35.2158, 36.9614, 10.4326) |
| Luminance | 0.3696 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.51
Sandy Brown
#C4A661
ΔE00 4.65
Desert
#CCAD60
ΔE00 4.69
Dark Gold
#B59410
ΔE00 5.15
Ocre
#C69C04
ΔE00 5.20
Brown Yellow
#B29705
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFA142 #4260BF
analogous
#BF6242 #BFA142 #9EBF42
triadic
#BFA142 #42BFA1 #A142BF
tetradic
#BFA142 #42BF62 #4260BF #BF429E
square
#BFA142 #42BF62 #4260BF #BF429E
split-complementary
#BFA142 #429EBF #6242BF
monochromatic
#655522 #927B32 #BFA142 #CEB870 #DECE9D
Accessibility & contrast
On white
2.50
#BFA142 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#BFA142 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFA142
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFA142 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFA142 | 1.00 | 2.50 | 8.39 | 8.39 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F37
Deuteranopia (green-blind)
#B9A746
Tritanopia (blue-blind)
#CE958D
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #bfa142; /* rgb */ color: rgb(191, 161, 66); /* oklch */ color: oklch(71.8% 0.118 91.5);
Tailwind
colors: {
custom: {
50: '#d6bc7b',
500: '#bfa142',
950: '#000000',
},
}SCSS
$custom: #bfa142; $custom-light: #d6bc7b; $custom-dark: #000000;
JSON
{
"hex": "#bfa142",
"rgb": {
"r": 191,
"g": 161,
"b": 66
},
"hsl": {
"h": 45.6,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.71784,
"c": 0.11831,
"h": 91.5
},
"luminance": 0.36959
}Semantic roles & 50–950 ramp
primary
#BFA142
secondary
#93A0CA
accent
#70D94F
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B