#BA9626#BA9626
#BA9626 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.8% C 0.129 H 89.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9626 |
|---|---|
| RGB | rgb(186, 150, 38) |
| HSL | hsl(45, 66%, 44%) |
| HSV | hsv(45, 80%, 73%) |
| CMYK | cmyk(0%, 19.4%, 79.6%, 27.1%) |
| CIE-LAB | lab(63.67, 2.65, 59.49) |
| CIE-LCH | lch(63.67, 59.55, 87.45°) |
| OKLab | oklab(68.78% 0.0007 0.1291) |
| OKLCH | oklch(68.78% 0.129 89.7) |
| XYZ | xyz(31.5078, 32.3938, 6.4265) |
| Luminance | 0.3239 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Gold
#B59410
ΔE00 1.97
Yellow Brown
#B79400
ΔE00 2.23
Ocher
#BF9B0C
ΔE00 2.65
Ochre
#BF9005
ΔE00 3.44
Baby Shit Brown
#AD900D
ΔE00 3.45
Ocre
#C69C04
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9626 #264ABA
analogous
#BA4C26 #BA9626 #94BA26
triadic
#BA9626 #26BA96 #9626BA
tetradic
#BA9626 #26BA4C #264ABA #BA2694
square
#BA9626 #26BA4C #264ABA #BA2694
split-complementary
#BA9626 #2694BA #4C26BA
monochromatic
#544411 #876D1C #BA9626 #D9B544 #E3C977
Accessibility & contrast
On white
2.81
#BA9626 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.48
#BA9626 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9626
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9626 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9626 | 1.00 | 2.81 | 7.48 | 7.48 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A8940C
Deuteranopia (green-blind)
#B19E2D
Tritanopia (blue-blind)
#CA8981
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ba9626; /* rgb */ color: rgb(186, 150, 38); /* oklch */ color: oklch(68.8% 0.129 89.7);
Tailwind
colors: {
custom: {
50: '#d3b46a',
500: '#ba9626',
950: '#000000',
},
}SCSS
$custom: #ba9626; $custom-light: #d3b46a; $custom-dark: #000000;
JSON
{
"hex": "#ba9626",
"rgb": {
"r": 186,
"g": 150,
"b": 38
},
"hsl": {
"h": 45.405,
"s": 66.071,
"l": 43.922
},
"oklch": {
"l": 0.68781,
"c": 0.12905,
"h": 89.7
},
"luminance": 0.32392
}Semantic roles & 50–950 ramp
primary
#BA9626
secondary
#7187CB
accent
#68E93F
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A