#BA9933#BA9933
#BA9933 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.5% C 0.123 H 90.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9933 |
|---|---|
| RGB | rgb(186, 153, 51) |
| HSL | hsl(45, 57%, 46%) |
| HSV | hsv(45, 73%, 73%) |
| CMYK | cmyk(0%, 17.7%, 72.6%, 27.1%) |
| CIE-LAB | lab(64.53, 1.58, 55.46) |
| CIE-LCH | lch(64.53, 55.48, 88.37°) |
| OKLab | oklab(69.49% -0.0009 0.1231) |
| OKLCH | oklch(69.49% 0.123 90.4) |
| XYZ | xyz(32.2403, 33.4626, 7.8921) |
| Luminance | 0.3346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 2.95
Ocher
#BF9B0C
ΔE00 3.27
Yellow Brown
#B79400
ΔE00 3.40
Brown Yellow
#B29705
ΔE00 3.95
Baby Shit Brown
#AD900D
ΔE00 4.13
Ocre
#C69C04
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9933 #3354BA
analogous
#BA5633 #BA9933 #98BA33
triadic
#BA9933 #33BA99 #9933BA
tetradic
#BA9933 #33BA56 #3354BA #BA3398
square
#BA9933 #33BA56 #3354BA #BA3398
split-complementary
#BA9933 #3398BA #5633BA
monochromatic
#5A4A19 #8A7126 #BA9933 #D1B459 #DFCA89
Accessibility & contrast
On white
2.73
#BA9933 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#BA9933 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9933
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9933 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9933 | 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)
#AA9724
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#C98C84
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #ba9933; /* rgb */ color: rgb(186, 153, 51); /* oklch */ color: oklch(69.5% 0.123 90.4);
Tailwind
colors: {
custom: {
50: '#d3b671',
500: '#ba9933',
950: '#000000',
},
}SCSS
$custom: #ba9933; $custom-light: #d3b671; $custom-dark: #000000;
JSON
{
"hex": "#ba9933",
"rgb": {
"r": 186,
"g": 153,
"b": 51
},
"hsl": {
"h": 45.333,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.6949,
"c": 0.12314,
"h": 90.4
},
"luminance": 0.33461
}Semantic roles & 50–950 ramp
primary
#BA9933
secondary
#8092C9
accent
#6DE048
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B