#BA9E2C#BA9E2C
#BA9E2C is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.5% C 0.130 H 94.5°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9E2C |
|---|---|
| RGB | rgb(186, 158, 44) |
| HSL | hsl(48, 62%, 45%) |
| HSV | hsv(48, 76%, 73%) |
| CMYK | cmyk(0%, 15.1%, 76.3%, 27.1%) |
| CIE-LAB | lab(65.81, -1.44, 59.36) |
| CIE-LCH | lch(65.81, 59.38, 91.39°) |
| OKLab | oklab(70.48% -0.0103 0.13) |
| OKLCH | oklch(70.48% 0.13 94.5) |
| XYZ | xyz(32.9330, 35.0766, 7.4182) |
| Luminance | 0.3508 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.85
Brown Yellow
#B29705
ΔE00 2.94
Dark Gold
#B59410
ΔE00 3.35
Yellow Brown
#B79400
ΔE00 3.75
Ocre
#C69C04
ΔE00 4.28
Baby Shit Brown
#AD900D
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9E2C #2C48BA
analogous
#BA572C #BA9E2C #8FBA2C
triadic
#BA9E2C #2CBA9E #9E2CBA
tetradic
#BA9E2C #2CBA57 #2C48BA #BA2C8F
square
#BA9E2C #2CBA57 #2C48BA #BA2C8F
split-complementary
#BA9E2C #2C8FBA #572CBA
monochromatic
#574A15 #897420 #BA9E2C #D5BB4E #E1CE80
Accessibility & contrast
On white
2.62
#BA9E2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#BA9E2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9E2C
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9E2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9E2C | 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)
#AF9B16
Deuteranopia (green-blind)
#B6A333
Tritanopia (blue-blind)
#C99188
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ba9e2c; /* rgb */ color: rgb(186, 158, 44); /* oklch */ color: oklch(70.5% 0.130 94.5);
Tailwind
colors: {
custom: {
50: '#d3ba6e',
500: '#ba9e2c',
950: '#000000',
},
}SCSS
$custom: #ba9e2c; $custom-light: #d3ba6e; $custom-dark: #000000;
JSON
{
"hex": "#ba9e2c",
"rgb": {
"r": 186,
"g": 158,
"b": 44
},
"hsl": {
"h": 48.169,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.70482,
"c": 0.13045,
"h": 94.5
},
"luminance": 0.35075
}Semantic roles & 50–950 ramp
primary
#BA9E2C
secondary
#7888CA
accent
#63E543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B