#B3A262#B3A262
#B3A262 is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.086 H 95.0°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A262 |
|---|---|
| RGB | rgb(179, 162, 98) |
| HSL | hsl(47, 35%, 54%) |
| HSV | hsv(47, 45%, 70%) |
| CMYK | cmyk(0%, 9.5%, 45.3%, 29.8%) |
| CIE-LAB | lab(66.75, -2.75, 35.44) |
| CIE-LCH | lch(66.75, 35.55, 94.44°) |
| OKLab | oklab(71.25% -0.0075 0.0858) |
| OKLCH | oklch(71.25% 0.086 95) |
| XYZ | xyz(33.7163, 36.3075, 16.7849) |
| Luminance | 0.3631 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.28
Sandy Brown
#C4A661
ΔE00 4.50
Sandstone
#C9AE74
ΔE00 5.57
Sand
#C2B280
ΔE00 5.71
Desert
#CCAD60
ΔE00 5.96
Dark Beige
#AC9362
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A262 #6273B3
analogous
#B37A62 #B3A262 #9CB362
triadic
#B3A262 #62B3A2 #A262B3
tetradic
#B3A262 #62B37A #6273B3 #B3629C
square
#B3A262 #62B37A #6273B3 #B3629C
split-complementary
#B3A262 #629CB3 #7A62B3
monochromatic
#685D32 #918246 #B3A262 #C7BA8B #DBD3B4
Accessibility & contrast
On white
2.54
#B3A262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#B3A262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A262
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A262 | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#B3A564
Tritanopia (blue-blind)
#BE9992
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b3a262; /* rgb */ color: rgb(179, 162, 98); /* oklch */ color: oklch(71.2% 0.086 95.0);
Tailwind
colors: {
custom: {
50: '#cbbd90',
500: '#b3a262',
950: '#000000',
},
}SCSS
$custom: #b3a262; $custom-light: #cbbd90; $custom-dark: #000000;
JSON
{
"hex": "#b3a262",
"rgb": {
"r": 179,
"g": 162,
"b": 98
},
"hsl": {
"h": 47.407,
"s": 34.764,
"l": 54.314
},
"oklch": {
"l": 0.71248,
"c": 0.08612,
"h": 95
},
"luminance": 0.36306
}Semantic roles & 50–950 ramp
primary
#B3A262
secondary
#A7AECA
accent
#74CB5D
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D