#BFA42F#BFA42F
#BFA42F is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.3% C 0.133 H 95.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #BFA42F |
|---|---|
| RGB | rgb(191, 164, 47) |
| HSL | hsl(49, 61%, 47%) |
| HSV | hsv(49, 75%, 75%) |
| CMYK | cmyk(0%, 14.1%, 75.4%, 25.1%) |
| CIE-LAB | lab(67.90, -2.31, 60.42) |
| CIE-LCH | lch(67.90, 60.47, 92.19°) |
| OKLab | oklab(72.25% -0.0128 0.1327) |
| OKLCH | oklch(72.25% 0.133 95.5) |
| XYZ | xyz(35.2763, 37.8345, 8.1335) |
| Luminance | 0.3783 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.66
Brown Yellow
#B29705
ΔE00 4.26
Muddy Yellow
#BFAC05
ΔE00 4.26
Ocre
#C69C04
ΔE00 4.73
Brownish Yellow
#C9B003
ΔE00 4.75
Dark Gold
#B59410
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFA42F #2F4ABF
analogous
#BF5C2F #BFA42F #92BF2F
triadic
#BFA42F #2FBFA4 #A42FBF
tetradic
#BFA42F #2FBF5C #2F4ABF #BF2F92
square
#BFA42F #2FBF5C #2F4ABF #BF2F92
split-complementary
#BFA42F #2F92BF #5C2FBF
monochromatic
#5D5017 #8E7A23 #BFA42F #D5BD56 #E1D087
Accessibility & contrast
On white
2.45
#BFA42F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#BFA42F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFA42F
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFA42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFA42F | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A119
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#CE978D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #bfa42f; /* rgb */ color: rgb(191, 164, 47); /* oklch */ color: oklch(72.3% 0.133 95.5);
Tailwind
colors: {
custom: {
50: '#d6be70',
500: '#bfa42f',
950: '#000000',
},
}SCSS
$custom: #bfa42f; $custom-light: #d6be70; $custom-dark: #000000;
JSON
{
"hex": "#bfa42f",
"rgb": {
"r": 191,
"g": 164,
"b": 47
},
"hsl": {
"h": 48.75,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.72253,
"c": 0.13328,
"h": 95.5
},
"luminance": 0.37833
}Semantic roles & 50–950 ramp
primary
#BFA42F
secondary
#7F8DCB
accent
#62E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B