#B2A455#B2A455
#B2A455 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.102 H 99.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #B2A455 |
|---|---|
| RGB | rgb(178, 164, 85) |
| HSL | hsl(51, 38%, 52%) |
| HSV | hsv(51, 52%, 70%) |
| CMYK | cmyk(0%, 7.9%, 52.2%, 30.2%) |
| CIE-LAB | lab(67.03, -5.49, 42.41) |
| CIE-LCH | lch(67.03, 42.76, 97.38°) |
| OKLab | oklab(71.39% -0.0167 0.1003) |
| OKLCH | oklch(71.39% 0.102 99.5) |
| XYZ | xyz(33.2763, 36.6730, 13.9183) |
| Luminance | 0.3667 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.73
Darkkhaki
#BDB76B
ΔE00 5.63
Sandy Brown
#C4A661
ΔE00 5.85
Desert
#CCAD60
ΔE00 6.39
Sandstone
#C9AE74
ΔE00 7.38
Sand
#C2B280
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2A455 #5563B2
analogous
#B27655 #B2A455 #92B255
triadic
#B2A455 #55B2A4 #A455B2
tetradic
#B2A455 #55B276 #5563B2 #B25592
square
#B2A455 #55B276 #5563B2 #B25592
split-complementary
#B2A455 #5592B2 #7655B2
monochromatic
#61592C #8B7F3F #B2A455 #C5BB7F #D8D1A9
Accessibility & contrast
On white
2.52
#B2A455 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#B2A455 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2A455
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2A455 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2A455 | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A04E
Deuteranopia (green-blind)
#B5A558
Tritanopia (blue-blind)
#BE9A92
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b2a455; /* rgb */ color: rgb(178, 164, 85); /* oklch */ color: oklch(71.4% 0.102 99.5);
Tailwind
colors: {
custom: {
50: '#cbbe87',
500: '#b2a455',
950: '#000000',
},
}SCSS
$custom: #b2a455; $custom-light: #cbbe87; $custom-dark: #000000;
JSON
{
"hex": "#b2a455",
"rgb": {
"r": 178,
"g": 164,
"b": 85
},
"hsl": {
"h": 50.968,
"s": 37.652,
"l": 51.569
},
"oklch": {
"l": 0.7139,
"c": 0.10165,
"h": 99.5
},
"luminance": 0.36672
}Semantic roles & 50–950 ramp
primary
#B2A455
secondary
#9DA3C6
accent
#6CCE5A
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120B
muted
#82817C