#B1A362#B1A362
#B1A362 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.087 H 97.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A362 |
|---|---|
| RGB | rgb(177, 163, 98) |
| HSL | hsl(49, 34%, 54%) |
| HSV | hsv(49, 45%, 69%) |
| CMYK | cmyk(0%, 7.9%, 44.6%, 30.6%) |
| CIE-LAB | lab(66.84, -4.13, 35.51) |
| CIE-LCH | lch(66.84, 35.75, 96.63°) |
| OKLab | oklab(71.28% -0.0113 0.086) |
| OKLCH | oklch(71.28% 0.087 97.5) |
| XYZ | xyz(33.4341, 36.4245, 16.8224) |
| Luminance | 0.3642 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.25
Sandy Brown
#C4A661
ΔE00 5.36
Sand
#C2B280
ΔE00 5.83
Darkkhaki
#BDB76B
ΔE00 6.03
Sandstone
#C9AE74
ΔE00 6.22
Dark Khaki
#9B8F55
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A362 #6270B1
analogous
#B17C62 #B1A362 #98B162
triadic
#B1A362 #62B1A3 #A362B1
tetradic
#B1A362 #62B17C #6270B1 #B16298
square
#B1A362 #62B17C #6270B1 #B16298
split-complementary
#B1A362 #6298B1 #7C62B1
monochromatic
#665D33 #8F8247 #B1A362 #C5BB8B #DAD3B4
Accessibility & contrast
On white
2.53
#B1A362 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#B1A362 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A362
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A362 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A362 | 1.00 | 2.53 | 8.28 | 8.28 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA05D
Deuteranopia (green-blind)
#B3A565
Tritanopia (blue-blind)
#BC9A93
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b1a362; /* rgb */ color: rgb(177, 163, 98); /* oklch */ color: oklch(71.3% 0.087 97.5);
Tailwind
colors: {
custom: {
50: '#cabe90',
500: '#b1a362',
950: '#000000',
},
}SCSS
$custom: #b1a362; $custom-light: #cabe90; $custom-dark: #000000;
JSON
{
"hex": "#b1a362",
"rgb": {
"r": 177,
"g": 163,
"b": 98
},
"hsl": {
"h": 49.367,
"s": 33.617,
"l": 53.922
},
"oklch": {
"l": 0.71276,
"c": 0.08673,
"h": 97.5
},
"luminance": 0.36423
}Semantic roles & 50–950 ramp
primary
#B1A362
secondary
#A7ADC8
accent
#71CA5E
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D