#BA9E27#BA9E27
#BA9E27 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.5% C 0.133 H 94.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9E27 |
|---|---|
| RGB | rgb(186, 158, 39) |
| HSL | hsl(49, 65%, 44%) |
| HSV | hsv(49, 79%, 73%) |
| CMYK | cmyk(0%, 15.1%, 79%, 27.1%) |
| CIE-LAB | lab(65.78, -1.63, 61.06) |
| CIE-LCH | lch(65.78, 61.08, 91.53°) |
| OKLab | oklab(70.45% -0.0114 0.1327) |
| OKLCH | oklch(70.45% 0.133 94.9) |
| XYZ | xyz(32.8446, 35.0412, 6.9527) |
| Luminance | 0.3504 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.61
Brown Yellow
#B29705
ΔE00 2.65
Dark Gold
#B59410
ΔE00 3.24
Yellow Brown
#B79400
ΔE00 3.58
Ocre
#C69C04
ΔE00 4.13
Baby Shit Brown
#AD900D
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9E27 #2743BA
analogous
#BA5427 #BA9E27 #8DBA27
triadic
#BA9E27 #27BA9E #9E27BA
tetradic
#BA9E27 #27BA54 #2743BA #BA278D
square
#BA9E27 #27BA54 #2743BA #BA278D
split-complementary
#BA9E27 #278DBA #5427BA
monochromatic
#554812 #87731C #BA9E27 #D8BC46 #E3CF79
Accessibility & contrast
On white
2.62
#BA9E27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#BA9E27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9E27
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9E27 | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B0A
Deuteranopia (green-blind)
#B6A32F
Tritanopia (blue-blind)
#C99188
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ba9e27; /* rgb */ color: rgb(186, 158, 39); /* oklch */ color: oklch(70.5% 0.133 94.9);
Tailwind
colors: {
custom: {
50: '#d3ba6c',
500: '#ba9e27',
950: '#000000',
},
}SCSS
$custom: #ba9e27; $custom-light: #d3ba6c; $custom-dark: #000000;
JSON
{
"hex": "#ba9e27",
"rgb": {
"r": 186,
"g": 158,
"b": 39
},
"hsl": {
"h": 48.571,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.70452,
"c": 0.13314,
"h": 94.9
},
"luminance": 0.35039
}Semantic roles & 50–950 ramp
primary
#BA9E27
secondary
#7283CB
accent
#60E840
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A