#B2AA56#B2AA56
#B2AA56 is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.107 H 103.8°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AA56 |
|---|---|
| RGB | rgb(178, 170, 86) |
| HSL | hsl(55, 37%, 52%) |
| HSV | hsv(55, 52%, 70%) |
| CMYK | cmyk(0%, 4.5%, 51.7%, 30.2%) |
| CIE-LAB | lab(68.67, -8.58, 43.86) |
| CIE-LCH | lch(68.67, 44.69, 101.07°) |
| OKLab | oklab(72.69% -0.0255 0.1035) |
| OKLCH | oklch(72.69% 0.107 103.8) |
| XYZ | xyz(34.4155, 38.8874, 14.4954) |
| Luminance | 0.3889 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.35
Darkkhaki
#BDB76B
ΔE00 3.99
Vomit
#A2A415
ΔE00 7.04
Puke
#A5A502
ΔE00 7.47
Desert
#CCAD60
ΔE00 7.57
Sandy Brown
#C4A661
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AA56 #565EB2
analogous
#B27C56 #B2AA56 #8CB256
triadic
#B2AA56 #56B2AA #AA56B2
tetradic
#B2AA56 #56B27C #565EB2 #B2568C
square
#B2AA56 #56B27C #565EB2 #B2568C
split-complementary
#B2AA56 #568CB2 #7C56B2
monochromatic
#615D2C #8B853F #B2AA56 #C5BF80 #D8D4AA
Accessibility & contrast
On white
2.39
#B2AA56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#B2AA56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AA56
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AA56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AA56 | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A54E
Deuteranopia (green-blind)
#BAAA5A
Tritanopia (blue-blind)
#BDA097
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b2aa56; /* rgb */ color: rgb(178, 170, 86); /* oklch */ color: oklch(72.7% 0.107 103.8);
Tailwind
colors: {
custom: {
50: '#cbc388',
500: '#b2aa56',
950: '#000000',
},
}SCSS
$custom: #b2aa56; $custom-light: #cbc388; $custom-dark: #000000;
JSON
{
"hex": "#b2aa56",
"rgb": {
"r": 178,
"g": 170,
"b": 86
},
"hsl": {
"h": 54.783,
"s": 37.398,
"l": 51.765
},
"oklch": {
"l": 0.72694,
"c": 0.10661,
"h": 103.8
},
"luminance": 0.38886
}Semantic roles & 50–950 ramp
primary
#B2AA56
secondary
#9EA1C6
accent
#64CD5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C