#BFAF61#BFAF61
#BFAF61 is a light, moderate yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.101 H 98.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #BFAF61 |
|---|---|
| RGB | rgb(191, 175, 97) |
| HSL | hsl(50, 42%, 56%) |
| HSV | hsv(50, 49%, 75%) |
| CMYK | cmyk(0%, 8.4%, 49.2%, 25.1%) |
| CIE-LAB | lab(71.28, -4.76, 41.80) |
| CIE-LCH | lch(71.28, 42.07, 96.49°) |
| OKLab | oklab(75.08% -0.014 0.0998) |
| OKLCH | oklch(75.08% 0.101 98) |
| XYZ | xyz(38.9747, 42.6008, 17.4767) |
| Luminance | 0.4260 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.51
Desert
#CCAD60
ΔE00 4.67
Khaki (survey)
#AAA662
ΔE00 5.16
Sandy Brown
#C4A661
ΔE00 5.24
Tan (survey)
#D1B26F
ΔE00 5.72
Sandstone
#C9AE74
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BFAF61 #6171BF
analogous
#BF8061 #BFAF61 #A0BF61
triadic
#BFAF61 #61BFAF #AF61BF
tetradic
#BFAF61 #61BF80 #6171BF #BF61A0
square
#BFAF61 #61BF80 #6171BF #BF61A0
split-complementary
#BFAF61 #61A0BF #8061BF
monochromatic
#766A30 #A19141 #BFAF61 #D1C58D #E2DBB8
Accessibility & contrast
On white
2.21
#BFAF61 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#BFAF61 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BFAF61
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BFAF61 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BFAF61 | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDAB5A
Deuteranopia (green-blind)
#C1B164
Tritanopia (blue-blind)
#CBA59D
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bfaf61; /* rgb */ color: rgb(191, 175, 97); /* oklch */ color: oklch(75.1% 0.101 98.0);
Tailwind
colors: {
custom: {
50: '#d4c68f',
500: '#bfaf61',
950: '#000000',
},
}SCSS
$custom: #bfaf61; $custom-light: #d4c68f; $custom-dark: #000000;
JSON
{
"hex": "#bfaf61",
"rgb": {
"r": 191,
"g": 175,
"b": 97
},
"hsl": {
"h": 49.787,
"s": 42.342,
"l": 56.471
},
"oklch": {
"l": 0.75082,
"c": 0.10074,
"h": 98
},
"luminance": 0.42599
}Semantic roles & 50–950 ramp
primary
#BFAF61
secondary
#ABB1D1
accent
#6BD256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D