#B2AA42#B2AA42
#B2AA42 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.5% C 0.125 H 104.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AA42 |
|---|---|
| RGB | rgb(178, 170, 66) |
| HSL | hsl(56, 46%, 48%) |
| HSV | hsv(56, 63%, 70%) |
| CMYK | cmyk(0%, 4.5%, 62.9%, 30.2%) |
| CIE-LAB | lab(68.47, -10.13, 52.97) |
| CIE-LCH | lch(68.47, 53.93, 100.82°) |
| OKLab | oklab(72.47% -0.0321 0.1207) |
| OKLCH | oklch(72.47% 0.125 104.9) |
| XYZ | xyz(33.7194, 38.6090, 10.8293) |
| Luminance | 0.3861 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.72
Puke
#A5A502
ΔE00 4.91
Muddy Yellow
#BFAC05
ΔE00 5.79
Darkkhaki
#BDB76B
ΔE00 5.85
Khaki (survey)
#AAA662
ΔE00 5.96
Olive Yellow
#C2B709
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AA42 #424AB2
analogous
#B27242 #B2AA42 #82B242
triadic
#B2AA42 #42B2AA #AA42B2
tetradic
#B2AA42 #42B272 #424AB2 #B24282
square
#B2AA42 #42B272 #424AB2 #B24282
split-complementary
#B2AA42 #4282B2 #7242B2
monochromatic
#595521 #857F31 #B2AA42 #C8C16A #D8D396
Accessibility & contrast
On white
2.41
#B2AA42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#B2AA42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AA42
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AA42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AA42 | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A436
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#BF9F94
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b2aa42; /* rgb */ color: rgb(178, 170, 66); /* oklch */ color: oklch(72.5% 0.125 104.9);
Tailwind
colors: {
custom: {
50: '#ccc37b',
500: '#b2aa42',
950: '#000000',
},
}SCSS
$custom: #b2aa42; $custom-light: #ccc37b; $custom-dark: #000000;
JSON
{
"hex": "#b2aa42",
"rgb": {
"r": 178,
"g": 170,
"b": 66
},
"hsl": {
"h": 55.714,
"s": 45.902,
"l": 47.843
},
"oklch": {
"l": 0.72468,
"c": 0.12486,
"h": 104.9
},
"luminance": 0.38608
}Semantic roles & 50–950 ramp
primary
#B2AA42
secondary
#8C90C4
accent
#5CD652
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C