#A38E2F#A38E2F
#A38E2F is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.8% C 0.115 H 96.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A38E2F |
|---|---|
| RGB | rgb(163, 142, 47) |
| HSL | hsl(49, 55%, 41%) |
| HSV | hsv(49, 71%, 64%) |
| CMYK | cmyk(0%, 12.9%, 71.2%, 36.1%) |
| CIE-LAB | lab(59.29, -2.91, 51.11) |
| CIE-LCH | lch(59.29, 51.19, 93.26°) |
| OKLab | oklab(64.81% -0.0129 0.1141) |
| OKLCH | oklch(64.81% 0.115 96.4) |
| XYZ | xyz(25.2916, 27.3391, 6.6336) |
| Luminance | 0.2734 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.91
Baby Shit Brown
#AD900D
ΔE00 3.92
Dark Mustard
#A88905
ΔE00 4.14
Diarrhea
#9F8303
ΔE00 4.65
Yellowy Brown
#AE8B0C
ΔE00 4.79
Dark Gold
#B59410
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A38E2F #2F44A3
analogous
#A3542F #A38E2F #7EA32F
triadic
#A38E2F #2FA38E #8E2FA3
tetradic
#A38E2F #2FA354 #2F44A3 #A32F7E
square
#A38E2F #2FA354 #2F44A3 #A32F7E
split-complementary
#A38E2F #2F7EA3 #542FA3
monochromatic
#443B14 #736521 #A38E2F #CAB246 #D7C575
Accessibility & contrast
On white
3.25
#A38E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#A38E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A38E2F
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A38E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A38E2F | 1.00 | 3.25 | 6.47 | 6.47 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8B21
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#B0837B
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a38e2f; /* rgb */ color: rgb(163, 142, 47); /* oklch */ color: oklch(64.8% 0.115 96.4);
Tailwind
colors: {
custom: {
50: '#c2ae6d',
500: '#a38e2f',
950: '#000000',
},
}SCSS
$custom: #a38e2f; $custom-light: #c2ae6d; $custom-dark: #000000;
JSON
{
"hex": "#a38e2f",
"rgb": {
"r": 163,
"g": 142,
"b": 47
},
"hsl": {
"h": 49.138,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.64807,
"c": 0.11477,
"h": 96.4
},
"luminance": 0.27338
}Semantic roles & 50–950 ramp
primary
#A38E2F
secondary
#6F7DBF
accent
#64DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A