#BA9A26#BA9A26
#BA9A26 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.6% C 0.131 H 92.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9A26 |
|---|---|
| RGB | rgb(186, 154, 38) |
| HSL | hsl(47, 66%, 44%) |
| HSV | hsv(47, 80%, 73%) |
| CMYK | cmyk(0%, 17.2%, 79.6%, 27.1%) |
| CIE-LAB | lab(64.72, 0.48, 60.43) |
| CIE-LCH | lch(64.72, 60.44, 89.54°) |
| OKLab | oklab(69.61% -0.0055 0.1311) |
| OKLCH | oklch(69.61% 0.131 92.4) |
| XYZ | xyz(32.1570, 33.6922, 6.6429) |
| Luminance | 0.3369 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.00
Dark Gold
#B59410
ΔE00 2.09
Yellow Brown
#B79400
ΔE00 2.44
Brown Yellow
#B29705
ΔE00 2.64
Ocre
#C69C04
ΔE00 3.40
Baby Shit Brown
#AD900D
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9A26 #2646BA
analogous
#BA5026 #BA9A26 #90BA26
triadic
#BA9A26 #26BA9A #9A26BA
tetradic
#BA9A26 #26BA50 #2646BA #BA2690
square
#BA9A26 #26BA50 #2646BA #BA2690
split-complementary
#BA9A26 #2690BA #5026BA
monochromatic
#544611 #87701C #BA9A26 #D9B944 #E3CC77
Accessibility & contrast
On white
2.71
#BA9A26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#BA9A26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9A26
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9A26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9A26 | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC980A
Deuteranopia (green-blind)
#B4A12E
Tritanopia (blue-blind)
#CA8D84
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #ba9a26; /* rgb */ color: rgb(186, 154, 38); /* oklch */ color: oklch(69.6% 0.131 92.4);
Tailwind
colors: {
custom: {
50: '#d3b76b',
500: '#ba9a26',
950: '#000000',
},
}SCSS
$custom: #ba9a26; $custom-light: #d3b76b; $custom-dark: #000000;
JSON
{
"hex": "#ba9a26",
"rgb": {
"r": 186,
"g": 154,
"b": 38
},
"hsl": {
"h": 47.027,
"s": 66.071,
"l": 43.922
},
"oklch": {
"l": 0.6961,
"c": 0.1312,
"h": 92.4
},
"luminance": 0.3369
}Semantic roles & 50–950 ramp
primary
#BA9A26
secondary
#7184CB
accent
#64E93F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A