#B2A460#B2A460
#B2A460 is a light, moderate yellow. Relative luminance 0.369; OKLCH L 71.5% C 0.090 H 98.0°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A460 |
|---|---|
| RGB | rgb(178, 164, 96) |
| HSL | hsl(50, 35%, 54%) |
| HSV | hsv(50, 46%, 70%) |
| CMYK | cmyk(0%, 7.9%, 46.1%, 30.2%) |
| CIE-LAB | lab(67.17, -4.45, 36.99) |
| CIE-LCH | lch(67.17, 37.25, 96.86°) |
| OKLab | oklab(71.55% -0.0125 0.0892) |
| OKLCH | oklch(71.55% 0.09 98) |
| XYZ | xyz(33.7478, 36.8616, 16.4014) |
| Luminance | 0.3686 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.16
Sandy Brown
#C4A661
ΔE00 5.31
Darkkhaki
#BDB76B
ΔE00 5.64
Sand
#C2B280
ΔE00 6.00
Sandstone
#C9AE74
ΔE00 6.28
Desert
#CCAD60
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A460 #606EB2
analogous
#B27B60 #B2A460 #97B260
triadic
#B2A460 #60B2A4 #A460B2
tetradic
#B2A460 #60B27B #606EB2 #B26097
square
#B2A460 #60B27B #606EB2 #B26097
split-complementary
#B2A460 #6097B2 #7B60B2
monochromatic
#665D31 #8F8345 #B2A460 #C6BC89 #DAD3B2
Accessibility & contrast
On white
2.51
#B2A460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#B2A460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A460
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A460 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A15B
Deuteranopia (green-blind)
#B4A663
Tritanopia (blue-blind)
#BD9B94
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b2a460; /* rgb */ color: rgb(178, 164, 96); /* oklch */ color: oklch(71.5% 0.090 98.0);
Tailwind
colors: {
custom: {
50: '#cabe8e',
500: '#b2a460',
950: '#000000',
},
}SCSS
$custom: #b2a460; $custom-light: #cabe8e; $custom-dark: #000000;
JSON
{
"hex": "#b2a460",
"rgb": {
"r": 178,
"g": 164,
"b": 96
},
"hsl": {
"h": 49.756,
"s": 34.746,
"l": 53.725
},
"oklch": {
"l": 0.71549,
"c": 0.09003,
"h": 98
},
"luminance": 0.3686
}Semantic roles & 50–950 ramp
primary
#B2A460
secondary
#A5ABC8
accent
#70CB5D
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D