#B2A16E#B2A16E
#B2A16E is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.2% C 0.071 H 91.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A16E |
|---|---|
| RGB | rgb(178, 161, 110) |
| HSL | hsl(45, 31%, 56%) |
| HSV | hsv(45, 38%, 70%) |
| CMYK | cmyk(0%, 9.6%, 38.2%, 30.2%) |
| CIE-LAB | lab(66.58, -1.30, 28.83) |
| CIE-LCH | lch(66.58, 28.86, 92.58°) |
| OKLab | oklab(71.15% -0.0022 0.0713) |
| OKLCH | oklch(71.15% 0.071 91.8) |
| XYZ | xyz(33.9201, 36.0817, 19.9265) |
| Luminance | 0.3608 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dust
#B2996E
ΔE00 4.41
Sand
#C2B280
ΔE00 4.88
Dark Beige
#AC9362
ΔE00 4.89
Sandstone
#C9AE74
ΔE00 5.39
Sandy Brown
#C4A661
ΔE00 5.44
Toupe
#C7AC7D
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A16E #6E7FB2
analogous
#B27F6E #B2A16E #A1B26E
triadic
#B2A16E #6EB2A1 #A16EB2
tetradic
#B2A16E #6EB27F #6E7FB2 #B26EA1
square
#B2A16E #6EB27F #6E7FB2 #B26EA1
split-complementary
#B2A16E #6EA1B2 #7F6EB2
monochromatic
#6C5F39 #94834F #B2A16E #C7BB96 #DCD5BE
Accessibility & contrast
On white
2.56
#B2A16E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#B2A16E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A16E
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A16E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A16E | 1.00 | 2.56 | 8.22 | 8.22 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9F6A
Deuteranopia (green-blind)
#B0A470
Tritanopia (blue-blind)
#BC9994
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b2a16e; /* rgb */ color: rgb(178, 161, 110); /* oklch */ color: oklch(71.2% 0.071 91.8);
Tailwind
colors: {
custom: {
50: '#cabc98',
500: '#b2a16e',
950: '#000000',
},
}SCSS
$custom: #b2a16e; $custom-light: #cabc98; $custom-dark: #000000;
JSON
{
"hex": "#b2a16e",
"rgb": {
"r": 178,
"g": 161,
"b": 110
},
"hsl": {
"h": 45,
"s": 30.631,
"l": 56.471
},
"oklch": {
"l": 0.71151,
"c": 0.0713,
"h": 91.8
},
"luminance": 0.36081
}Semantic roles & 50–950 ramp
primary
#B2A16E
secondary
#B0B7CC
accent
#7AC761
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E