#BA9E2E#BA9E2E
#BA9E2E is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.5% C 0.129 H 94.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9E2E |
|---|---|
| RGB | rgb(186, 158, 46) |
| HSL | hsl(48, 60%, 45%) |
| HSV | hsv(48, 75%, 73%) |
| CMYK | cmyk(0%, 15.1%, 75.3%, 27.1%) |
| CIE-LAB | lab(65.82, -1.35, 58.65) |
| CIE-LCH | lch(65.82, 58.66, 91.32°) |
| OKLab | oklab(70.49% -0.0099 0.1289) |
| OKLCH | oklch(70.49% 0.129 94.4) |
| XYZ | xyz(32.9715, 35.0920, 7.6210) |
| Luminance | 0.3509 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.96
Brown Yellow
#B29705
ΔE00 3.07
Dark Gold
#B59410
ΔE00 3.42
Yellow Brown
#B79400
ΔE00 3.83
Ocre
#C69C04
ΔE00 4.36
Baby Shit Brown
#AD900D
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9E2E #2E4ABA
analogous
#BA582E #BA9E2E #90BA2E
triadic
#BA9E2E #2EBA9E #9E2EBA
tetradic
#BA9E2E #2EBA58 #2E4ABA #BA2E90
square
#BA9E2E #2EBA58 #2E4ABA #BA2E90
split-complementary
#BA9E2E #2E90BA #582EBA
monochromatic
#584B16 #897422 #BA9E2E #D4BA51 #E0CD82
Accessibility & contrast
On white
2.62
#BA9E2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#BA9E2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9E2E
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9E2E | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#B6A435
Tritanopia (blue-blind)
#C99188
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ba9e2e; /* rgb */ color: rgb(186, 158, 46); /* oklch */ color: oklch(70.5% 0.129 94.4);
Tailwind
colors: {
custom: {
50: '#d3ba6f',
500: '#ba9e2e',
950: '#000000',
},
}SCSS
$custom: #ba9e2e; $custom-light: #d3ba6f; $custom-dark: #000000;
JSON
{
"hex": "#ba9e2e",
"rgb": {
"r": 186,
"g": 158,
"b": 46
},
"hsl": {
"h": 48,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.70495,
"c": 0.12929,
"h": 94.4
},
"luminance": 0.3509
}Semantic roles & 50–950 ramp
primary
#BA9E2E
secondary
#7B8AC9
accent
#64E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B