#BAA231#BAA231
#BAA231 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.4% C 0.130 H 96.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA231 |
|---|---|
| RGB | rgb(186, 162, 49) |
| HSL | hsl(49, 58%, 46%) |
| HSV | hsv(49, 74%, 73%) |
| CMYK | cmyk(0%, 12.9%, 73.7%, 27.1%) |
| CIE-LAB | lab(66.90, -3.36, 58.56) |
| CIE-LCH | lch(66.90, 58.66, 93.28°) |
| OKLab | oklab(71.36% -0.0153 0.1293) |
| OKLCH | oklch(71.36% 0.13 96.7) |
| XYZ | xyz(33.7261, 36.5033, 8.1745) |
| Luminance | 0.3650 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.86
Ocher
#BF9B0C
ΔE00 4.11
Muddy Yellow
#BFAC05
ΔE00 4.55
Dark Gold
#B59410
ΔE00 4.78
Yellow Brown
#B79400
ΔE00 5.17
Ocre
#C69C04
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA231 #3149BA
analogous
#BA5D31 #BAA231 #8DBA31
triadic
#BAA231 #31BAA2 #A231BA
tetradic
#BAA231 #31BA5D #3149BA #BA318D
square
#BAA231 #31BA5D #3149BA #BA318D
split-complementary
#BAA231 #318DBA #5D31BA
monochromatic
#594E17 #8A7824 #BAA231 #D2BD56 #DFD086
Accessibility & contrast
On white
2.53
#BAA231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#BAA231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA231
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA231 | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E1E
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#C9958C
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #baa231; /* rgb */ color: rgb(186, 162, 49); /* oklch */ color: oklch(71.4% 0.130 96.7);
Tailwind
colors: {
custom: {
50: '#d3bd71',
500: '#baa231',
950: '#000000',
},
}SCSS
$custom: #baa231; $custom-light: #d3bd71; $custom-dark: #000000;
JSON
{
"hex": "#baa231",
"rgb": {
"r": 186,
"g": 162,
"b": 49
},
"hsl": {
"h": 49.489,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.71358,
"c": 0.13023,
"h": 96.7
},
"luminance": 0.36502
}Semantic roles & 50–950 ramp
primary
#BAA231
secondary
#7E8BC9
accent
#61E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B