#A18F2F#A18F2F
#A18F2F is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.8% C 0.115 H 98.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A18F2F |
|---|---|
| RGB | rgb(161, 143, 47) |
| HSL | hsl(51, 55%, 41%) |
| HSV | hsv(51, 71%, 63%) |
| CMYK | cmyk(0%, 11.2%, 70.8%, 36.9%) |
| CIE-LAB | lab(59.37, -4.36, 51.13) |
| CIE-LCH | lch(59.37, 51.31, 94.87°) |
| OKLab | oklab(64.83% -0.0169 0.1142) |
| OKLCH | oklch(64.83% 0.115 98.4) |
| XYZ | xyz(25.0347, 27.4284, 6.6643) |
| Luminance | 0.2743 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.28
Baby Shit Brown
#AD900D
ΔE00 4.43
Dark Mustard
#A88905
ΔE00 4.84
Diarrhea
#9F8303
ΔE00 5.20
Brown Yellow
#B29705
ΔE00 5.49
Yellowy Brown
#AE8B0C
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18F2F #2F41A1
analogous
#A1562F #A18F2F #7AA12F
triadic
#A18F2F #2FA18F #8F2FA1
tetradic
#A18F2F #2FA156 #2F41A1 #A12F7A
square
#A18F2F #2FA156 #2F41A1 #A12F7A
split-complementary
#A18F2F #2F7AA1 #562FA1
monochromatic
#423B13 #726521 #A18F2F #C9B445 #D6C774
Accessibility & contrast
On white
3.24
#A18F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#A18F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A18F2F
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18F2F | 1.00 | 3.24 | 6.49 | 6.49 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B21
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#AE847C
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a18f2f; /* rgb */ color: rgb(161, 143, 47); /* oklch */ color: oklch(64.8% 0.115 98.4);
Tailwind
colors: {
custom: {
50: '#c0af6d',
500: '#a18f2f',
950: '#000000',
},
}SCSS
$custom: #a18f2f; $custom-light: #c0af6d; $custom-dark: #000000;
JSON
{
"hex": "#a18f2f",
"rgb": {
"r": 161,
"g": 143,
"b": 47
},
"hsl": {
"h": 50.526,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.64827,
"c": 0.1154,
"h": 98.4
},
"luminance": 0.27427
}Semantic roles & 50–950 ramp
primary
#A18F2F
secondary
#6E7ABE
accent
#61DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A