#BA9932#BA9932
#BA9932 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.5% C 0.124 H 90.6°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9932 |
|---|---|
| RGB | rgb(186, 153, 50) |
| HSL | hsl(45, 58%, 46%) |
| HSV | hsv(45, 73%, 73%) |
| CMYK | cmyk(0%, 17.7%, 73.1%, 27.1%) |
| CIE-LAB | lab(64.53, 1.53, 55.86) |
| CIE-LCH | lch(64.53, 55.88, 88.43°) |
| OKLab | oklab(69.48% -0.0012 0.1238) |
| OKLCH | oklch(69.48% 0.124 90.6) |
| XYZ | xyz(32.2185, 33.4538, 7.7773) |
| Luminance | 0.3345 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.85
Ocher
#BF9B0C
ΔE00 3.16
Yellow Brown
#B79400
ΔE00 3.29
Brown Yellow
#B29705
ΔE00 3.84
Baby Shit Brown
#AD900D
ΔE00 4.06
Ocre
#C69C04
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9932 #3253BA
analogous
#BA5532 #BA9932 #97BA32
triadic
#BA9932 #32BA99 #9932BA
tetradic
#BA9932 #32BA55 #3253BA #BA3297
square
#BA9932 #32BA55 #3253BA #BA3297
split-complementary
#BA9932 #3297BA #5532BA
monochromatic
#5A4A18 #8A7125 #BA9932 #D2B457 #DFCA88
Accessibility & contrast
On white
2.73
#BA9932 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#BA9932 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9932
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9932 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9932 | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9722
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#C98C84
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ba9932; /* rgb */ color: rgb(186, 153, 50); /* oklch */ color: oklch(69.5% 0.124 90.6);
Tailwind
colors: {
custom: {
50: '#d3b671',
500: '#ba9932',
950: '#000000',
},
}SCSS
$custom: #ba9932; $custom-light: #d3b671; $custom-dark: #000000;
JSON
{
"hex": "#ba9932",
"rgb": {
"r": 186,
"g": 153,
"b": 50
},
"hsl": {
"h": 45.441,
"s": 57.627,
"l": 46.275
},
"oklch": {
"l": 0.69482,
"c": 0.12379,
"h": 90.6
},
"luminance": 0.33452
}Semantic roles & 50–950 ramp
primary
#BA9932
secondary
#7F91C9
accent
#6CE147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B