#B1A262#B1A262
#B1A262 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 71.1% C 0.086 H 96.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A262 |
|---|---|
| RGB | rgb(177, 162, 98) |
| HSL | hsl(49, 34%, 54%) |
| HSV | hsv(49, 45%, 69%) |
| CMYK | cmyk(0%, 8.5%, 44.6%, 30.6%) |
| CIE-LAB | lab(66.57, -3.59, 35.18) |
| CIE-LCH | lch(66.57, 35.36, 95.83°) |
| OKLab | oklab(71.06% -0.0098 0.0852) |
| OKLCH | oklch(71.06% 0.086 96.6) |
| XYZ | xyz(33.2572, 36.0708, 16.7634) |
| Luminance | 0.3607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.64
Sandy Brown
#C4A661
ΔE00 5.14
Sand
#C2B280
ΔE00 5.86
Sandstone
#C9AE74
ΔE00 6.08
Dark Khaki
#9B8F55
ΔE00 6.33
Darkkhaki
#BDB76B
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A262 #6271B1
analogous
#B17B62 #B1A262 #99B162
triadic
#B1A262 #62B1A2 #A262B1
tetradic
#B1A262 #62B17B #6271B1 #B16299
square
#B1A262 #62B17B #6271B1 #B16299
split-complementary
#B1A262 #6299B1 #7B62B1
monochromatic
#665C33 #8F8147 #B1A262 #C5BA8B #DAD2B4
Accessibility & contrast
On white
2.56
#B1A262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.21
#B1A262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A262
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A262 | 1.00 | 2.56 | 8.21 | 8.21 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#B2A464
Tritanopia (blue-blind)
#BC9992
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b1a262; /* rgb */ color: rgb(177, 162, 98); /* oklch */ color: oklch(71.1% 0.086 96.6);
Tailwind
colors: {
custom: {
50: '#cabd90',
500: '#b1a262',
950: '#000000',
},
}SCSS
$custom: #b1a262; $custom-light: #cabd90; $custom-dark: #000000;
JSON
{
"hex": "#b1a262",
"rgb": {
"r": 177,
"g": 162,
"b": 98
},
"hsl": {
"h": 48.608,
"s": 33.617,
"l": 53.922
},
"oklch": {
"l": 0.71063,
"c": 0.08579,
"h": 96.6
},
"luminance": 0.3607
}Semantic roles & 50–950 ramp
primary
#B1A262
secondary
#A7ADC8
accent
#73CA5E
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D