#B2A447#B2A447
#B2A447 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.2% C 0.115 H 100.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A447 |
|---|---|
| RGB | rgb(178, 164, 71) |
| HSL | hsl(52, 43%, 49%) |
| HSV | hsv(52, 60%, 70%) |
| CMYK | cmyk(0%, 7.9%, 60.1%, 30.2%) |
| CIE-LAB | lab(66.88, -6.62, 48.98) |
| CIE-LCH | lch(66.88, 49.43, 97.70°) |
| OKLab | oklab(71.22% -0.0216 0.1129) |
| OKLCH | oklch(71.22% 0.115 100.8) |
| XYZ | xyz(32.7741, 36.4721, 11.2735) |
| Luminance | 0.3647 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 5.28
Vomit
#A2A415
ΔE00 6.24
Darkkhaki
#BDB76B
ΔE00 6.41
Puke
#A5A502
ΔE00 6.45
Muddy Yellow
#BFAC05
ΔE00 6.61
Brown Yellow
#B29705
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A447 #4755B2
analogous
#B26F47 #B2A447 #8BB247
triadic
#B2A447 #47B2A4 #A447B2
tetradic
#B2A447 #47B26F #4755B2 #B2478B
square
#B2A447 #47B26F #4755B2 #B2478B
split-complementary
#B2A447 #478BB2 #6F47B2
monochromatic
#5B5324 #867C36 #B2A447 #C6BB70 #D7D09C
Accessibility & contrast
On white
2.53
#B2A447 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.29
#B2A447 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A447
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A447 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A447 | 1.00 | 2.53 | 8.29 | 8.29 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A03D
Deuteranopia (green-blind)
#B6A54C
Tritanopia (blue-blind)
#BF9990
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b2a447; /* rgb */ color: rgb(178, 164, 71); /* oklch */ color: oklch(71.2% 0.115 100.8);
Tailwind
colors: {
custom: {
50: '#ccbe7e',
500: '#b2a447',
950: '#000000',
},
}SCSS
$custom: #b2a447; $custom-light: #ccbe7e; $custom-dark: #000000;
JSON
{
"hex": "#b2a447",
"rgb": {
"r": 178,
"g": 164,
"b": 71
},
"hsl": {
"h": 52.15,
"s": 42.972,
"l": 48.824
},
"oklch": {
"l": 0.71221,
"c": 0.11492,
"h": 100.8
},
"luminance": 0.36471
}Semantic roles & 50–950 ramp
primary
#B2A447
secondary
#9198C4
accent
#66D355
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C