#B1A762#B1A762
#B1A762 is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.1% C 0.091 H 101.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A762 |
|---|---|
| RGB | rgb(177, 167, 98) |
| HSL | hsl(52, 34%, 54%) |
| HSV | hsv(52, 45%, 69%) |
| CMYK | cmyk(0%, 5.6%, 44.6%, 30.6%) |
| CIE-LAB | lab(67.92, -6.26, 36.87) |
| CIE-LCH | lch(67.92, 37.40, 99.64°) |
| OKLab | oklab(72.13% -0.0175 0.089) |
| OKLCH | oklch(72.13% 0.091 101.1) |
| XYZ | xyz(34.1556, 37.8674, 17.0629) |
| Luminance | 0.3787 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.99
Darkkhaki
#BDB76B
ΔE00 4.55
Sand
#C2B280
ΔE00 6.04
Sandy Brown
#C4A661
ΔE00 6.44
Sandstone
#C9AE74
ΔE00 7.00
Desert
#CCAD60
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A762 #626CB1
analogous
#B18062 #B1A762 #94B162
triadic
#B1A762 #62B1A7 #A762B1
tetradic
#B1A762 #62B180 #626CB1 #B16294
square
#B1A762 #62B180 #626CB1 #B16294
split-complementary
#B1A762 #6294B1 #8062B1
monochromatic
#665F33 #8F8647 #B1A762 #C5BE8B #DAD5B4
Accessibility & contrast
On white
2.45
#B1A762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#B1A762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A762
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A762 | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A35C
Deuteranopia (green-blind)
#B6A765
Tritanopia (blue-blind)
#BC9E96
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b1a762; /* rgb */ color: rgb(177, 167, 98); /* oklch */ color: oklch(72.1% 0.091 101.1);
Tailwind
colors: {
custom: {
50: '#cac190',
500: '#b1a762',
950: '#000000',
},
}SCSS
$custom: #b1a762; $custom-light: #cac190; $custom-dark: #000000;
JSON
{
"hex": "#b1a762",
"rgb": {
"r": 177,
"g": 167,
"b": 98
},
"hsl": {
"h": 52.405,
"s": 33.617,
"l": 53.922
},
"oklch": {
"l": 0.72131,
"c": 0.09073,
"h": 101.1
},
"luminance": 0.37866
}Semantic roles & 50–950 ramp
primary
#B1A762
secondary
#A7ABC8
accent
#6CCA5E
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D