#A38B2F#A38B2F
#A38B2F is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.2% C 0.113 H 94.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A38B2F |
|---|---|
| RGB | rgb(163, 139, 47) |
| HSL | hsl(48, 55%, 41%) |
| HSV | hsv(48, 71%, 64%) |
| CMYK | cmyk(0%, 14.7%, 71.2%, 36.1%) |
| CIE-LAB | lab(58.47, -1.27, 50.28) |
| CIE-LCH | lch(58.47, 50.30, 91.44°) |
| OKLab | oklab(64.16% -0.0082 0.1123) |
| OKLCH | oklch(64.16% 0.113 94.2) |
| XYZ | xyz(24.8512, 26.4584, 6.4868) |
| Luminance | 0.2646 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 3.66
Diarrhea
#9F8303
ΔE00 3.93
Baby Shit Brown
#AD900D
ΔE00 4.10
Baby Poo
#AB9004
ΔE00 4.24
Yellowy Brown
#AE8B0C
ΔE00 4.27
Dark Gold
#B59410
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A38B2F #2F47A3
analogous
#A3512F #A38B2F #81A32F
triadic
#A38B2F #2FA38B #8B2FA3
tetradic
#A38B2F #2FA351 #2F47A3 #A32F81
square
#A38B2F #2FA351 #2F47A3 #A32F81
split-complementary
#A38B2F #2F81A3 #512FA3
monochromatic
#443A14 #736221 #A38B2F #CAAE46 #D7C375
Accessibility & contrast
On white
3.34
#A38B2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#A38B2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A38B2F
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A38B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A38B2F | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8822
Deuteranopia (green-blind)
#A09034
Tritanopia (blue-blind)
#B08078
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a38b2f; /* rgb */ color: rgb(163, 139, 47); /* oklch */ color: oklch(64.2% 0.113 94.2);
Tailwind
colors: {
custom: {
50: '#c2ac6d',
500: '#a38b2f',
950: '#000000',
},
}SCSS
$custom: #a38b2f; $custom-light: #c2ac6d; $custom-dark: #000000;
JSON
{
"hex": "#a38b2f",
"rgb": {
"r": 163,
"g": 139,
"b": 47
},
"hsl": {
"h": 47.586,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.64161,
"c": 0.1126,
"h": 94.2
},
"luminance": 0.26457
}Semantic roles & 50–950 ramp
primary
#A38B2F
secondary
#6F7FBF
accent
#68DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A