#BAAB3E#BAAB3E
#BAAB3E is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.4% C 0.129 H 101.4°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #BAAB3E |
|---|---|
| RGB | rgb(186, 171, 62) |
| HSL | hsl(53, 50%, 49%) |
| HSV | hsv(53, 67%, 73%) |
| CMYK | cmyk(0%, 8.1%, 66.7%, 27.1%) |
| CIE-LAB | lab(69.41, -7.44, 55.89) |
| CIE-LCH | lch(69.41, 56.38, 97.58°) |
| OKLab | oklab(73.37% -0.0254 0.126) |
| OKLCH | oklch(73.37% 0.129 101.4) |
| XYZ | xyz(35.6836, 39.9142, 10.3811) |
| Luminance | 0.3991 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.19
Brownish Yellow
#C9B003
ΔE00 5.42
Olive Yellow
#C2B709
ΔE00 5.54
Puke
#A5A502
ΔE00 5.72
Vomit
#A2A415
ΔE00 5.93
Mustard (survey)
#CEB301
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAAB3E #3E4DBA
analogous
#BA6D3E #BAAB3E #8BBA3E
triadic
#BAAB3E #3EBAAB #AB3EBA
tetradic
#BAAB3E #3EBA6D #3E4DBA #BA3E8B
square
#BAAB3E #3EBA6D #3E4DBA #BA3E8B
split-complementary
#BAAB3E #3E8BBA #6D3EBA
monochromatic
#5E571F #8C812F #BAAB3E #CDC168 #DCD496
Accessibility & contrast
On white
2.34
#BAAB3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#BAAB3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAAB3E
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAAB3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAAB3E | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA630
Deuteranopia (green-blind)
#BFAC44
Tritanopia (blue-blind)
#C89F95
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #baab3e; /* rgb */ color: rgb(186, 171, 62); /* oklch */ color: oklch(73.4% 0.129 101.4);
Tailwind
colors: {
custom: {
50: '#d2c379',
500: '#baab3e',
950: '#000000',
},
}SCSS
$custom: #baab3e; $custom-light: #d2c379; $custom-dark: #000000;
JSON
{
"hex": "#baab3e",
"rgb": {
"r": 186,
"g": 171,
"b": 62
},
"hsl": {
"h": 52.742,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.73374,
"c": 0.12853,
"h": 101.4
},
"luminance": 0.39913
}Semantic roles & 50–950 ramp
primary
#BAAB3E
secondary
#8C93C8
accent
#5FDA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B