#B2A462#B2A462
#B2A462 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.088 H 97.7°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A462 |
|---|---|
| RGB | rgb(178, 164, 98) |
| HSL | hsl(50, 34%, 54%) |
| HSV | hsv(50, 45%, 70%) |
| CMYK | cmyk(0%, 7.9%, 44.9%, 30.2%) |
| CIE-LAB | lab(67.20, -4.24, 35.98) |
| CIE-LCH | lch(67.20, 36.23, 96.73°) |
| OKLab | oklab(71.58% -0.0117 0.087) |
| OKLCH | oklch(71.58% 0.088 97.7) |
| XYZ | xyz(33.8410, 36.8989, 16.8925) |
| Luminance | 0.3690 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.20
Sandy Brown
#C4A661
ΔE00 5.28
Darkkhaki
#BDB76B
ΔE00 5.73
Sand
#C2B280
ΔE00 5.73
Sandstone
#C9AE74
ΔE00 6.11
Desert
#CCAD60
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A462 #6270B2
analogous
#B27C62 #B2A462 #98B262
triadic
#B2A462 #62B2A4 #A462B2
tetradic
#B2A462 #62B27C #6270B2 #B26298
square
#B2A462 #62B27C #6270B2 #B26298
split-complementary
#B2A462 #6298B2 #7C62B2
monochromatic
#675E33 #908347 #B2A462 #C6BC8B #DAD4B4
Accessibility & contrast
On white
2.51
#B2A462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#B2A462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A462
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A462 | 1.00 | 2.51 | 8.38 | 8.38 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A15D
Deuteranopia (green-blind)
#B4A665
Tritanopia (blue-blind)
#BD9B94
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b2a462; /* rgb */ color: rgb(178, 164, 98); /* oklch */ color: oklch(71.6% 0.088 97.7);
Tailwind
colors: {
custom: {
50: '#cabe90',
500: '#b2a462',
950: '#000000',
},
}SCSS
$custom: #b2a462; $custom-light: #cabe90; $custom-dark: #000000;
JSON
{
"hex": "#b2a462",
"rgb": {
"r": 178,
"g": 164,
"b": 98
},
"hsl": {
"h": 49.5,
"s": 34.188,
"l": 54.118
},
"oklch": {
"l": 0.7158,
"c": 0.08782,
"h": 97.7
},
"luminance": 0.36898
}Semantic roles & 50–950 ramp
primary
#B2A462
secondary
#A7ADC9
accent
#71CA5E
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D