#B2AF7E#B2AF7E
#B2AF7E is a light, moderate yellow. Relative luminance 0.416; OKLCH L 74.4% C 0.066 H 104.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AF7E |
|---|---|
| RGB | rgb(178, 175, 126) |
| HSL | hsl(57, 25%, 60%) |
| HSV | hsv(57, 29%, 70%) |
| CMYK | cmyk(0%, 1.7%, 29.2%, 30.2%) |
| CIE-LAB | lab(70.62, -6.77, 25.58) |
| CIE-LCH | lch(70.62, 26.46, 104.82°) |
| OKLab | oklab(74.43% -0.0171 0.0641) |
| OKLCH | oklch(74.43% 0.066 104.9) |
| XYZ | xyz(37.4561, 41.6320, 25.7972) |
| Luminance | 0.4163 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 4.81
Khaki (survey)
#AAA662
ΔE00 5.09
Darkkhaki
#BDB76B
ΔE00 5.97
Bland
#AFA88B
ΔE00 6.10
Stone (survey)
#ADA587
ΔE00 6.22
Putty
#BEAE8A
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AF7E #7E81B2
analogous
#B2957E #B2AF7E #9BB27E
triadic
#B2AF7E #7EB2AF #AF7EB2
tetradic
#B2AF7E #7EB295 #7E81B2 #B27E9B
square
#B2AF7E #7EB295 #7E81B2 #B27E9B
split-complementary
#B2AF7E #7E9BB2 #957EB2
monochromatic
#726F44 #98955B #B2AF7E #C9C7A4 #E0DFCB
Accessibility & contrast
On white
2.25
#B2AF7E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.33
#B2AF7E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AF7E
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AF7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AF7E | 1.00 | 2.25 | 9.33 | 9.33 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7AB7B
Deuteranopia (green-blind)
#B9AE80
Tritanopia (blue-blind)
#BAA9A2
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #b2af7e; /* rgb */ color: rgb(178, 175, 126); /* oklch */ color: oklch(74.4% 0.066 104.9);
Tailwind
colors: {
custom: {
50: '#c9c6a3',
500: '#b2af7e',
950: '#000000',
},
}SCSS
$custom: #b2af7e; $custom-light: #c9c6a3; $custom-dark: #000000;
JSON
{
"hex": "#b2af7e",
"rgb": {
"r": 178,
"g": 175,
"b": 126
},
"hsl": {
"h": 56.538,
"s": 25.243,
"l": 59.608
},
"oklch": {
"l": 0.74431,
"c": 0.06633,
"h": 104.9
},
"luminance": 0.41631
}Semantic roles & 50–950 ramp
primary
#B2AF7E
secondary
#BCBDD0
accent
#6BC266
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F