#B1A662#B1A662
#B1A662 is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.9% C 0.090 H 100.3°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A662 |
|---|---|
| RGB | rgb(177, 166, 98) |
| HSL | hsl(52, 34%, 54%) |
| HSV | hsv(52, 45%, 69%) |
| CMYK | cmyk(0%, 6.2%, 44.6%, 30.6%) |
| CIE-LAB | lab(67.65, -5.73, 36.53) |
| CIE-LCH | lch(67.65, 36.98, 98.91°) |
| OKLab | oklab(71.92% -0.016 0.0883) |
| OKLCH | oklch(71.92% 0.09 100.3) |
| XYZ | xyz(33.9731, 37.5025, 17.0020) |
| Luminance | 0.3750 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.23
Darkkhaki
#BDB76B
ΔE00 4.90
Sand
#C2B280
ΔE00 5.95
Sandy Brown
#C4A661
ΔE00 6.15
Sandstone
#C9AE74
ΔE00 6.77
Desert
#CCAD60
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A662 #626DB1
analogous
#B17F62 #B1A662 #95B162
triadic
#B1A662 #62B1A6 #A662B1
tetradic
#B1A662 #62B17F #626DB1 #B16295
square
#B1A662 #62B17F #626DB1 #B16295
split-complementary
#B1A662 #6295B1 #7F62B1
monochromatic
#665F33 #8F8547 #B1A662 #C5BD8B #DAD4B4
Accessibility & contrast
On white
2.47
#B1A662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#B1A662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A662
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A662 | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A25D
Deuteranopia (green-blind)
#B5A765
Tritanopia (blue-blind)
#BC9D96
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b1a662; /* rgb */ color: rgb(177, 166, 98); /* oklch */ color: oklch(71.9% 0.090 100.3);
Tailwind
colors: {
custom: {
50: '#cac090',
500: '#b1a662',
950: '#000000',
},
}SCSS
$custom: #b1a662; $custom-light: #cac090; $custom-dark: #000000;
JSON
{
"hex": "#b1a662",
"rgb": {
"r": 177,
"g": 166,
"b": 98
},
"hsl": {
"h": 51.646,
"s": 33.617,
"l": 53.922
},
"oklch": {
"l": 0.71916,
"c": 0.0897,
"h": 100.3
},
"luminance": 0.37501
}Semantic roles & 50–950 ramp
primary
#B1A662
secondary
#A7ABC8
accent
#6DCA5E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D