#BBAF7F#BBAF7F
#BBAF7F is a light, moderate yellow. Relative luminance 0.428; OKLCH L 75.2% C 0.066 H 95.8°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #BBAF7F |
|---|---|
| RGB | rgb(187, 175, 127) |
| HSL | hsl(48, 31%, 62%) |
| HSV | hsv(48, 32%, 73%) |
| CMYK | cmyk(0%, 6.4%, 32.1%, 26.7%) |
| CIE-LAB | lab(71.39, -3.07, 26.21) |
| CIE-LCH | lch(71.39, 26.39, 96.68°) |
| OKLab | oklab(75.23% -0.0066 0.0656) |
| OKLCH | oklch(75.23% 0.066 95.8) |
| XYZ | xyz(39.6547, 42.7581, 26.2388) |
| Luminance | 0.4276 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 1.75
Putty
#BEAE8A
ΔE00 3.96
Sandstone
#C9AE74
ΔE00 5.17
Toupe
#C7AC7D
ΔE00 5.46
Bland
#AFA88B
ΔE00 5.68
Stone (survey)
#ADA587
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BBAF7F #7F8BBB
analogous
#BB917F #BBAF7F #A9BB7F
triadic
#BBAF7F #7FBBAF #AF7FBB
tetradic
#BBAF7F #7FBB91 #7F8BBB #BB7FA9
square
#BBAF7F #7FBB91 #7F8BBB #BB7FA9
split-complementary
#BBAF7F #7FA9BB #917FBB
monochromatic
#7D7142 #A59658 #BBAF7F #D0C8A7 #E5E1CF
Accessibility & contrast
On white
2.20
#BBAF7F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#BBAF7F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BBAF7F
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BBAF7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BBAF7F | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9AC7C
Deuteranopia (green-blind)
#BCB181
Tritanopia (blue-blind)
#C4A8A2
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #bbaf7f; /* rgb */ color: rgb(187, 175, 127); /* oklch */ color: oklch(75.2% 0.066 95.8);
Tailwind
colors: {
custom: {
50: '#d0c6a4',
500: '#bbaf7f',
950: '#000000',
},
}SCSS
$custom: #bbaf7f; $custom-light: #d0c6a4; $custom-dark: #000000;
JSON
{
"hex": "#bbaf7f",
"rgb": {
"r": 187,
"g": 175,
"b": 127
},
"hsl": {
"h": 48,
"s": 30.612,
"l": 61.569
},
"oklch": {
"l": 0.75232,
"c": 0.06592,
"h": 95.8
},
"luminance": 0.42757
}Semantic roles & 50–950 ramp
primary
#BBAF7F
secondary
#C0C4D6
accent
#52A93C
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#14130F
muted
#82827F