#BAA862#BAA862
#BAA862 is a light, moderate yellow. Relative luminance 0.393; OKLCH L 73.2% C 0.093 H 95.4°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA862 |
|---|---|
| RGB | rgb(186, 168, 98) |
| HSL | hsl(48, 39%, 56%) |
| HSV | hsv(48, 47%, 73%) |
| CMYK | cmyk(0%, 9.7%, 47.3%, 27.1%) |
| CIE-LAB | lab(68.99, -3.04, 38.37) |
| CIE-LCH | lch(68.99, 38.49, 94.52°) |
| OKLab | oklab(73.16% -0.0087 0.0923) |
| OKLCH | oklch(73.16% 0.093 95.4) |
| XYZ | xyz(36.4580, 39.3276, 17.2235) |
| Luminance | 0.3933 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Brown
#C4A661
ΔE00 3.87
Desert
#CCAD60
ΔE00 4.50
Khaki (survey)
#AAA662
ΔE00 4.62
Sandstone
#C9AE74
ΔE00 4.81
Darkkhaki
#BDB76B
ΔE00 5.23
Sand
#C2B280
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA862 #6274BA
analogous
#BA7C62 #BAA862 #A0BA62
triadic
#BAA862 #62BAA8 #A862BA
tetradic
#BAA862 #62BA7C #6274BA #BA62A0
square
#BAA862 #62BA7C #6274BA #BA62A0
split-complementary
#BAA862 #62A0BA #7C62BA
monochromatic
#706331 #9B8944 #BAA862 #CDC08D #DFD7B7
Accessibility & contrast
On white
2.37
#BAA862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#BAA862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA862
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA862 | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A55C
Deuteranopia (green-blind)
#BAAB65
Tritanopia (blue-blind)
#C69E97
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #baa862; /* rgb */ color: rgb(186, 168, 98); /* oklch */ color: oklch(73.2% 0.093 95.4);
Tailwind
colors: {
custom: {
50: '#d0c190',
500: '#baa862',
950: '#000000',
},
}SCSS
$custom: #baa862; $custom-light: #d0c190; $custom-dark: #000000;
JSON
{
"hex": "#baa862",
"rgb": {
"r": 186,
"g": 168,
"b": 98
},
"hsl": {
"h": 47.727,
"s": 38.938,
"l": 55.686
},
"oklch": {
"l": 0.73164,
"c": 0.09269,
"h": 95.4
},
"luminance": 0.39326
}Semantic roles & 50–950 ramp
primary
#BAA862
secondary
#AAB1CE
accent
#71CF59
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D