#B1A462#B1A462
#B1A462 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.088 H 98.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #B1A462 |
|---|---|
| RGB | rgb(177, 164, 98) |
| HSL | hsl(50, 34%, 54%) |
| HSV | hsv(50, 45%, 69%) |
| CMYK | cmyk(0%, 7.3%, 44.6%, 30.6%) |
| CIE-LAB | lab(67.11, -4.66, 35.85) |
| CIE-LCH | lch(67.11, 36.15, 97.41°) |
| OKLab | oklab(71.49% -0.0129 0.0867) |
| OKLCH | oklch(71.49% 0.088 98.5) |
| XYZ | xyz(33.6124, 36.7810, 16.8818) |
| Luminance | 0.3678 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.88
Sandy Brown
#C4A661
ΔE00 5.60
Darkkhaki
#BDB76B
ΔE00 5.64
Sand
#C2B280
ΔE00 5.84
Sandstone
#C9AE74
ΔE00 6.38
Desert
#CCAD60
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1A462 #626FB1
analogous
#B17D62 #B1A462 #97B162
triadic
#B1A462 #62B1A4 #A462B1
tetradic
#B1A462 #62B17D #626FB1 #B16297
square
#B1A462 #62B17D #626FB1 #B16297
split-complementary
#B1A462 #6297B1 #7D62B1
monochromatic
#665E33 #8F8347 #B1A462 #C5BC8B #DAD3B4
Accessibility & contrast
On white
2.51
#B1A462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#B1A462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1A462
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1A462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1A462 | 1.00 | 2.51 | 8.36 | 8.36 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A15D
Deuteranopia (green-blind)
#B3A565
Tritanopia (blue-blind)
#BC9B94
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b1a462; /* rgb */ color: rgb(177, 164, 98); /* oklch */ color: oklch(71.5% 0.088 98.5);
Tailwind
colors: {
custom: {
50: '#cabe90',
500: '#b1a462',
950: '#000000',
},
}SCSS
$custom: #b1a462; $custom-light: #cabe90; $custom-dark: #000000;
JSON
{
"hex": "#b1a462",
"rgb": {
"r": 177,
"g": 164,
"b": 98
},
"hsl": {
"h": 50.127,
"s": 33.617,
"l": 53.922
},
"oklch": {
"l": 0.71489,
"c": 0.0877,
"h": 98.5
},
"luminance": 0.3678
}Semantic roles & 50–950 ramp
primary
#B1A462
secondary
#A7ACC8
accent
#70CA5E
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D