#B3A862#B3A862
#B3A862 is a light, moderate yellow. Relative luminance 0.385; OKLCH L 72.5% C 0.092 H 100.5°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A862 |
|---|---|
| RGB | rgb(179, 168, 98) |
| HSL | hsl(52, 35%, 54%) |
| HSV | hsv(52, 45%, 70%) |
| CMYK | cmyk(0%, 6.1%, 45.3%, 29.8%) |
| CIE-LAB | lab(68.37, -5.96, 37.46) |
| CIE-LCH | lch(68.37, 37.93, 99.04°) |
| OKLab | oklab(72.52% -0.0167 0.0903) |
| OKLCH | oklch(72.52% 0.092 100.5) |
| XYZ | xyz(34.7985, 38.4719, 17.1457) |
| Luminance | 0.3847 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.42
Darkkhaki
#BDB76B
ΔE00 4.29
Sand
#C2B280
ΔE00 5.86
Sandy Brown
#C4A661
ΔE00 6.11
Desert
#CCAD60
ΔE00 6.66
Sandstone
#C9AE74
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A862 #626DB3
analogous
#B38062 #B3A862 #96B362
triadic
#B3A862 #62B3A8 #A862B3
tetradic
#B3A862 #62B380 #626DB3 #B36296
square
#B3A862 #62B380 #626DB3 #B36296
split-complementary
#B3A862 #6296B3 #8062B3
monochromatic
#686132 #918746 #B3A862 #C7BF8B #DBD6B4
Accessibility & contrast
On white
2.42
#B3A862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.69
#B3A862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A862
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A862 | 1.00 | 2.42 | 8.69 | 8.69 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A45C
Deuteranopia (green-blind)
#B7A965
Tritanopia (blue-blind)
#BE9F97
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #b3a862; /* rgb */ color: rgb(179, 168, 98); /* oklch */ color: oklch(72.5% 0.092 100.5);
Tailwind
colors: {
custom: {
50: '#cbc190',
500: '#b3a862',
950: '#000000',
},
}SCSS
$custom: #b3a862; $custom-light: #cbc190; $custom-dark: #000000;
JSON
{
"hex": "#b3a862",
"rgb": {
"r": 179,
"g": 168,
"b": 98
},
"hsl": {
"h": 51.852,
"s": 34.764,
"l": 54.314
},
"oklch": {
"l": 0.72524,
"c": 0.09188,
"h": 100.5
},
"luminance": 0.38471
}Semantic roles & 50–950 ramp
primary
#B3A862
secondary
#A7ACCA
accent
#6CCB5D
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D