#B2A970#B2A970
#B2A970 is a light, moderate yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.077 H 100.3°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A970 |
|---|---|
| RGB | rgb(178, 169, 112) |
| HSL | hsl(52, 30%, 57%) |
| HSV | hsv(52, 37%, 70%) |
| CMYK | cmyk(0%, 5.1%, 37.1%, 30.2%) |
| CIE-LAB | lab(68.76, -5.35, 30.61) |
| CIE-LCH | lch(68.76, 31.07, 99.92°) |
| OKLab | oklab(72.88% -0.0138 0.0755) |
| OKLCH | oklch(72.88% 0.077 100.3) |
| XYZ | xyz(35.4732, 39.0117, 20.9875) |
| Luminance | 0.3901 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.07
Sand
#C2B280
ΔE00 4.33
Darkkhaki
#BDB76B
ΔE00 5.14
Sandstone
#C9AE74
ΔE00 6.43
Putty
#BEAE8A
ΔE00 6.71
Sandy Brown
#C4A661
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A970 #7079B2
analogous
#B28870 #B2A970 #9AB270
triadic
#B2A970 #70B2A9 #A970B2
tetradic
#B2A970 #70B288 #7079B2 #B2709A
square
#B2A970 #70B288 #7079B2 #B2709A
split-complementary
#B2A970 #709AB2 #8870B2
monochromatic
#6D663B #958B50 #B2A970 #C7C198 #DDD9C0
Accessibility & contrast
On white
2.39
#B2A970 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#B2A970 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A970
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A970 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A970 | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A66C
Deuteranopia (green-blind)
#B6A972
Tritanopia (blue-blind)
#BBA19B
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #b2a970; /* rgb */ color: rgb(178, 169, 112); /* oklch */ color: oklch(72.9% 0.077 100.3);
Tailwind
colors: {
custom: {
50: '#cac299',
500: '#b2a970',
950: '#000000',
},
}SCSS
$custom: #b2a970; $custom-light: #cac299; $custom-dark: #000000;
JSON
{
"hex": "#b2a970",
"rgb": {
"r": 178,
"g": 169,
"b": 112
},
"hsl": {
"h": 51.818,
"s": 30,
"l": 56.863
},
"oklch": {
"l": 0.72883,
"c": 0.07671,
"h": 100.3
},
"luminance": 0.39011
}Semantic roles & 50–950 ramp
primary
#B2A970
secondary
#B1B5CC
accent
#6FC662
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E