#BA9B26#BA9B26
#BA9B26 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.132 H 93.0°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9B26 |
|---|---|
| RGB | rgb(186, 155, 38) |
| HSL | hsl(47, 66%, 44%) |
| HSV | hsv(47, 80%, 73%) |
| CMYK | cmyk(0%, 16.7%, 79.6%, 27.1%) |
| CIE-LAB | lab(64.98, -0.06, 60.67) |
| CIE-LCH | lch(64.98, 60.67, 90.05°) |
| OKLab | oklab(69.82% -0.007 0.1316) |
| OKLCH | oklch(69.82% 0.132 93) |
| XYZ | xyz(32.3228, 34.0237, 6.6981) |
| Luminance | 0.3402 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.03
Dark Gold
#B59410
ΔE00 2.32
Brown Yellow
#B29705
ΔE00 2.53
Yellow Brown
#B79400
ΔE00 2.67
Ocre
#C69C04
ΔE00 3.52
Baby Shit Brown
#AD900D
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9B26 #2645BA
analogous
#BA5126 #BA9B26 #8FBA26
triadic
#BA9B26 #26BA9B #9B26BA
tetradic
#BA9B26 #26BA51 #2645BA #BA268F
square
#BA9B26 #26BA51 #2645BA #BA268F
split-complementary
#BA9B26 #268FBA #5126BA
monochromatic
#544611 #87711C #BA9B26 #D9BA44 #E3CD77
Accessibility & contrast
On white
2.69
#BA9B26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#BA9B26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9B26
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9B26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9B26 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9809
Deuteranopia (green-blind)
#B4A22E
Tritanopia (blue-blind)
#CA8E85
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ba9b26; /* rgb */ color: rgb(186, 155, 38); /* oklch */ color: oklch(69.8% 0.132 93.0);
Tailwind
colors: {
custom: {
50: '#d3b86b',
500: '#ba9b26',
950: '#000000',
},
}SCSS
$custom: #ba9b26; $custom-light: #d3b86b; $custom-dark: #000000;
JSON
{
"hex": "#ba9b26",
"rgb": {
"r": 186,
"g": 155,
"b": 38
},
"hsl": {
"h": 47.432,
"s": 66.071,
"l": 43.922
},
"oklch": {
"l": 0.69818,
"c": 0.13179,
"h": 93
},
"luminance": 0.34022
}Semantic roles & 50–950 ramp
primary
#BA9B26
secondary
#7184CB
accent
#62E93F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A