#BA9B25#BA9B25
#BA9B25 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.132 H 93.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9B25 |
|---|---|
| RGB | rgb(186, 155, 37) |
| HSL | hsl(48, 67%, 44%) |
| HSV | hsv(48, 80%, 73%) |
| CMYK | cmyk(0%, 16.7%, 80.1%, 27.1%) |
| CIE-LAB | lab(64.98, -0.09, 60.99) |
| CIE-LCH | lch(64.98, 60.99, 90.09°) |
| OKLab | oklab(69.81% -0.0072 0.1321) |
| OKLCH | oklch(69.81% 0.132 93.1) |
| XYZ | xyz(32.3068, 34.0173, 6.6143) |
| Luminance | 0.3402 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 1.97
Dark Gold
#B59410
ΔE00 2.29
Brown Yellow
#B29705
ΔE00 2.47
Yellow Brown
#B79400
ΔE00 2.62
Ocre
#C69C04
ΔE00 3.48
Baby Shit Brown
#AD900D
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9B25 #2544BA
analogous
#BA5025 #BA9B25 #8EBA25
triadic
#BA9B25 #25BA9B #9B25BA
tetradic
#BA9B25 #25BA50 #2544BA #BA258E
square
#BA9B25 #25BA50 #2544BA #BA258E
split-complementary
#BA9B25 #258EBA #5025BA
monochromatic
#544611 #87701B #BA9B25 #DABA43 #E4CD76
Accessibility & contrast
On white
2.69
#BA9B25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#BA9B25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9B25
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9B25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9B25 | 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)
#AD9806
Deuteranopia (green-blind)
#B4A12D
Tritanopia (blue-blind)
#CA8E85
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #ba9b25; /* rgb */ color: rgb(186, 155, 37); /* oklch */ color: oklch(69.8% 0.132 93.1);
Tailwind
colors: {
custom: {
50: '#d3b86a',
500: '#ba9b25',
950: '#000000',
},
}SCSS
$custom: #ba9b25; $custom-light: #d3b86a; $custom-dark: #000000;
JSON
{
"hex": "#ba9b25",
"rgb": {
"r": 186,
"g": 155,
"b": 37
},
"hsl": {
"h": 47.517,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.69813,
"c": 0.13228,
"h": 93.1
},
"luminance": 0.34015
}Semantic roles & 50–950 ramp
primary
#BA9B25
secondary
#7083CB
accent
#62EA3E
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A