#B3A662#B3A662
#B3A662 is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.090 H 98.7°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B3A662 |
|---|---|
| RGB | rgb(179, 166, 98) |
| HSL | hsl(50, 35%, 54%) |
| HSV | hsv(50, 45%, 70%) |
| CMYK | cmyk(0%, 7.3%, 45.3%, 29.8%) |
| CIE-LAB | lab(67.83, -4.89, 36.79) |
| CIE-LCH | lch(67.83, 37.11, 97.58°) |
| OKLab | oklab(72.1% -0.0137 0.0888) |
| OKLCH | oklch(72.1% 0.09 98.7) |
| XYZ | xyz(34.4321, 37.7391, 17.0235) |
| Luminance | 0.3774 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.88
Darkkhaki
#BDB76B
ΔE00 5.04
Sandy Brown
#C4A661
ΔE00 5.50
Sand
#C2B280
ΔE00 5.69
Sandstone
#C9AE74
ΔE00 6.22
Desert
#CCAD60
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3A662 #626FB3
analogous
#B37E62 #B3A662 #98B362
triadic
#B3A662 #62B3A6 #A662B3
tetradic
#B3A662 #62B37E #626FB3 #B36298
square
#B3A662 #62B37E #626FB3 #B36298
split-complementary
#B3A662 #6298B3 #7E62B3
monochromatic
#686032 #918546 #B3A662 #C7BD8B #DBD5B4
Accessibility & contrast
On white
2.46
#B3A662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.55
#B3A662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3A662
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3A662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3A662 | 1.00 | 2.46 | 8.55 | 8.55 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A25D
Deuteranopia (green-blind)
#B6A765
Tritanopia (blue-blind)
#BE9D96
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b3a662; /* rgb */ color: rgb(179, 166, 98); /* oklch */ color: oklch(72.1% 0.090 98.7);
Tailwind
colors: {
custom: {
50: '#cbc090',
500: '#b3a662',
950: '#000000',
},
}SCSS
$custom: #b3a662; $custom-light: #cbc090; $custom-dark: #000000;
JSON
{
"hex": "#b3a662",
"rgb": {
"r": 179,
"g": 166,
"b": 98
},
"hsl": {
"h": 50.37,
"s": 34.764,
"l": 54.314
},
"oklch": {
"l": 0.72097,
"c": 0.08988,
"h": 98.7
},
"luminance": 0.37738
}Semantic roles & 50–950 ramp
primary
#B3A662
secondary
#A7ADCA
accent
#6FCB5D
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D