#B3A562#B3A562
#B3A562 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.9% C 0.089 H 97.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A562 |
|---|---|
| RGB | rgb(179, 165, 98) |
| HSL | hsl(50, 35%, 54%) |
| HSV | hsv(50, 45%, 70%) |
| CMYK | cmyk(0%, 7.8%, 45.3%, 29.8%) |
| CIE-LAB | lab(67.56, -4.36, 36.45) |
| CIE-LCH | lch(67.56, 36.71, 96.82°) |
| OKLab | oklab(71.89% -0.0121 0.0881) |
| OKLCH | oklch(71.89% 0.089 97.8) |
| XYZ | xyz(34.2510, 37.3770, 16.9632) |
| Luminance | 0.3738 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.18
Sandy Brown
#C4A661
ΔE00 5.21
Darkkhaki
#BDB76B
ΔE00 5.43
Sand
#C2B280
ΔE00 5.64
Sandstone
#C9AE74
ΔE00 6.02
Desert
#CCAD60
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A562 #6270B3
analogous
#B37D62 #B3A562 #99B362
triadic
#B3A562 #62B3A5 #A562B3
tetradic
#B3A562 #62B37D #6270B3 #B36299
square
#B3A562 #62B37D #6270B3 #B36299
split-complementary
#B3A562 #6299B3 #7D62B3
monochromatic
#685F32 #918446 #B3A562 #C7BD8B #DBD4B4
Accessibility & contrast
On white
2.48
#B3A562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#B3A562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A562
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A562 | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A25D
Deuteranopia (green-blind)
#B5A765
Tritanopia (blue-blind)
#BE9C95
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b3a562; /* rgb */ color: rgb(179, 165, 98); /* oklch */ color: oklch(71.9% 0.089 97.8);
Tailwind
colors: {
custom: {
50: '#cbbf90',
500: '#b3a562',
950: '#000000',
},
}SCSS
$custom: #b3a562; $custom-light: #cbbf90; $custom-dark: #000000;
JSON
{
"hex": "#b3a562",
"rgb": {
"r": 179,
"g": 165,
"b": 98
},
"hsl": {
"h": 49.63,
"s": 34.764,
"l": 54.314
},
"oklch": {
"l": 0.71885,
"c": 0.0889,
"h": 97.8
},
"luminance": 0.37376
}Semantic roles & 50–950 ramp
primary
#B3A562
secondary
#A7ADCA
accent
#70CB5D
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D