#B2AA3B#B2AA3B
#B2AA3B is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.4% C 0.130 H 105.2°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AA3B |
|---|---|
| RGB | rgb(178, 170, 59) |
| HSL | hsl(56, 50%, 46%) |
| HSV | hsv(56, 67%, 70%) |
| CMYK | cmyk(0%, 4.5%, 66.9%, 30.2%) |
| CIE-LAB | lab(68.41, -10.56, 55.88) |
| CIE-LCH | lch(68.41, 56.87, 100.70°) |
| OKLab | oklab(72.41% -0.0341 0.1257) |
| OKLCH | oklch(72.41% 0.13 105.2) |
| XYZ | xyz(33.5255, 38.5314, 9.8082) |
| Luminance | 0.3853 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.18
Puke
#A5A502
ΔE00 4.23
Muddy Yellow
#BFAC05
ΔE00 5.13
Olive Yellow
#C2B709
ΔE00 5.87
Mustard Green
#A8B504
ΔE00 6.40
Darkkhaki
#BDB76B
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AA3B #3B43B2
analogous
#B26F3B #B2AA3B #7FB23B
triadic
#B2AA3B #3BB2AA #AA3BB2
tetradic
#B2AA3B #3BB26F #3B43B2 #B23B7F
square
#B2AA3B #3BB26F #3B43B2 #B23B7F
split-complementary
#B2AA3B #3B7FB2 #6F3BB2
monochromatic
#56521D #847E2C #B2AA3B #CAC360 #DAD48E
Accessibility & contrast
On white
2.41
#B2AA3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#B2AA3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AA3B
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AA3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AA3B | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A42C
Deuteranopia (green-blind)
#BBA942
Tritanopia (blue-blind)
#BF9F93
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b2aa3b; /* rgb */ color: rgb(178, 170, 59); /* oklch */ color: oklch(72.4% 0.130 105.2);
Tailwind
colors: {
custom: {
50: '#ccc377',
500: '#b2aa3b',
950: '#000000',
},
}SCSS
$custom: #b2aa3b; $custom-light: #ccc377; $custom-dark: #000000;
JSON
{
"hex": "#b2aa3b",
"rgb": {
"r": 178,
"g": 170,
"b": 59
},
"hsl": {
"h": 55.966,
"s": 50.211,
"l": 46.471
},
"oklch": {
"l": 0.72405,
"c": 0.13028,
"h": 105.2
},
"luminance": 0.3853
}Semantic roles & 50–950 ramp
primary
#B2AA3B
secondary
#8589C4
accent
#57DA4E
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B