#B2A86E#B2A86E
#B2A86E is a light, moderate yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.078 H 99.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A86E |
|---|---|
| RGB | rgb(178, 168, 110) |
| HSL | hsl(51, 31%, 56%) |
| HSV | hsv(51, 38%, 70%) |
| CMYK | cmyk(0%, 5.6%, 38.2%, 30.2%) |
| CIE-LAB | lab(68.46, -5.06, 31.28) |
| CIE-LCH | lch(68.46, 31.68, 99.18°) |
| OKLab | oklab(72.63% -0.0131 0.0769) |
| OKLCH | oklch(72.63% 0.078 99.6) |
| XYZ | xyz(35.1778, 38.5970, 20.3457) |
| Luminance | 0.3860 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.00
Sand
#C2B280
ΔE00 4.42
Darkkhaki
#BDB76B
ΔE00 5.23
Sandstone
#C9AE74
ΔE00 6.24
Sandy Brown
#C4A661
ΔE00 6.54
Putty
#BEAE8A
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A86E #6E78B2
analogous
#B2866E #B2A86E #9AB26E
triadic
#B2A86E #6EB2A8 #A86EB2
tetradic
#B2A86E #6EB286 #6E78B2 #B26E9A
square
#B2A86E #6EB286 #6E78B2 #B26E9A
split-complementary
#B2A86E #6E9AB2 #866EB2
monochromatic
#6C6539 #948A4F #B2A86E #C7C096 #DCD8BE
Accessibility & contrast
On white
2.41
#B2A86E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#B2A86E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A86E
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A86E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A86E | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A56A
Deuteranopia (green-blind)
#B6A970
Tritanopia (blue-blind)
#BCA099
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b2a86e; /* rgb */ color: rgb(178, 168, 110); /* oklch */ color: oklch(72.6% 0.078 99.6);
Tailwind
colors: {
custom: {
50: '#cac198',
500: '#b2a86e',
950: '#000000',
},
}SCSS
$custom: #b2a86e; $custom-light: #cac198; $custom-dark: #000000;
JSON
{
"hex": "#b2a86e",
"rgb": {
"r": 178,
"g": 168,
"b": 110
},
"hsl": {
"h": 51.176,
"s": 30.631,
"l": 56.471
},
"oklch": {
"l": 0.72634,
"c": 0.07803,
"h": 99.6
},
"luminance": 0.38596
}Semantic roles & 50–950 ramp
primary
#B2A86E
secondary
#B0B4CC
accent
#70C761
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E