#BAAE42#BAAE42
#BAAE42 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.1% C 0.128 H 103.0°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #BAAE42 |
|---|---|
| RGB | rgb(186, 174, 66) |
| HSL | hsl(54, 48%, 49%) |
| HSV | hsv(54, 65%, 73%) |
| CMYK | cmyk(0%, 6.5%, 64.5%, 27.1%) |
| CIE-LAB | lab(70.25, -8.77, 55.08) |
| CIE-LCH | lch(70.25, 55.77, 99.04°) |
| OKLab | oklab(74.05% -0.0288 0.1249) |
| OKLCH | oklch(74.05% 0.128 103) |
| XYZ | xyz(36.3705, 41.1060, 11.1716) |
| Luminance | 0.4111 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.68
Olive Yellow
#C2B709
ΔE00 5.28
Puke
#A5A502
ΔE00 5.70
Darkkhaki
#BDB76B
ΔE00 5.78
Vomit
#A2A415
ΔE00 5.83
Brownish Yellow
#C9B003
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAAE42 #424EBA
analogous
#BA7242 #BAAE42 #8ABA42
triadic
#BAAE42 #42BAAE #AE42BA
tetradic
#BAAE42 #42BA72 #424EBA #BA428A
square
#BAAE42 #42BA72 #424EBA #BA428A
split-complementary
#BAAE42 #428ABA #7242BA
monochromatic
#605922 #8D8432 #BAAE42 #CBC26E #DBD59B
Accessibility & contrast
On white
2.28
#BAAE42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.22
#BAAE42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAAE42
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAAE42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAAE42 | 1.00 | 2.28 | 9.22 | 9.22 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA935
Deuteranopia (green-blind)
#C1AE48
Tritanopia (blue-blind)
#C7A297
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #baae42; /* rgb */ color: rgb(186, 174, 66); /* oklch */ color: oklch(74.1% 0.128 103.0);
Tailwind
colors: {
custom: {
50: '#d2c57c',
500: '#baae42',
950: '#000000',
},
}SCSS
$custom: #baae42; $custom-light: #d2c57c; $custom-dark: #000000;
JSON
{
"hex": "#baae42",
"rgb": {
"r": 186,
"g": 174,
"b": 66
},
"hsl": {
"h": 54,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.74053,
"c": 0.12817,
"h": 103
},
"luminance": 0.41105
}Semantic roles & 50–950 ramp
primary
#BAAE42
secondary
#9096C8
accent
#5ED751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14120A
muted
#83817C