#B2A442#B2A442
#B2A442 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.119 H 101.2°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A442 |
|---|---|
| RGB | rgb(178, 164, 66) |
| HSL | hsl(53, 46%, 48%) |
| HSV | hsv(53, 63%, 70%) |
| CMYK | cmyk(0%, 7.9%, 62.9%, 30.2%) |
| CIE-LAB | lab(66.83, -6.97, 51.21) |
| CIE-LCH | lch(66.83, 51.68, 97.75°) |
| OKLab | oklab(71.17% -0.0231 0.1169) |
| OKLCH | oklch(71.17% 0.119 101.2) |
| XYZ | xyz(32.6202, 36.4106, 10.4629) |
| Luminance | 0.3641 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.75
Khaki (survey)
#AAA662
ΔE00 5.86
Puke
#A5A502
ΔE00 5.89
Muddy Yellow
#BFAC05
ΔE00 6.01
Brown Yellow
#B29705
ΔE00 6.29
Darkkhaki
#BDB76B
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A442 #4250B2
analogous
#B26C42 #B2A442 #88B242
triadic
#B2A442 #42B2A4 #A442B2
tetradic
#B2A442 #42B26C #4250B2 #B24288
square
#B2A442 #42B26C #4250B2 #B24288
split-complementary
#B2A442 #4288B2 #6C42B2
monochromatic
#595221 #857B31 #B2A442 #C8BC6A #D8D096
Accessibility & contrast
On white
2.54
#B2A442 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#B2A442 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A442
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A442 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A442 | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F37
Deuteranopia (green-blind)
#B6A547
Tritanopia (blue-blind)
#BF998F
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b2a442; /* rgb */ color: rgb(178, 164, 66); /* oklch */ color: oklch(71.2% 0.119 101.2);
Tailwind
colors: {
custom: {
50: '#ccbe7b',
500: '#b2a442',
950: '#000000',
},
}SCSS
$custom: #b2a442; $custom-light: #ccbe7b; $custom-dark: #000000;
JSON
{
"hex": "#b2a442",
"rgb": {
"r": 178,
"g": 164,
"b": 66
},
"hsl": {
"h": 52.5,
"s": 45.902,
"l": 47.843
},
"oklch": {
"l": 0.71169,
"c": 0.1192,
"h": 101.2
},
"luminance": 0.36409
}Semantic roles & 50–950 ramp
primary
#B2A442
secondary
#8C93C4
accent
#63D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C