#A18E1F#A18E1F
#A18E1F is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.5% C 0.124 H 98.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A18E1F |
|---|---|
| RGB | rgb(161, 142, 31) |
| HSL | hsl(51, 68%, 38%) |
| HSV | hsv(51, 81%, 63%) |
| CMYK | cmyk(0%, 11.8%, 80.7%, 36.9%) |
| CIE-LAB | lab(59.00, -4.53, 56.67) |
| CIE-LCH | lch(59.00, 56.85, 94.57°) |
| OKLab | oklab(64.5% -0.019 0.1228) |
| OKLCH | oklch(64.5% 0.124 98.8) |
| XYZ | xyz(24.6195, 27.0233, 5.2153) |
| Luminance | 0.2702 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.11
Baby Shit Brown
#AD900D
ΔE00 3.46
Dark Mustard
#A88905
ΔE00 3.88
Diarrhea
#9F8303
ΔE00 4.34
Brown Yellow
#B29705
ΔE00 4.63
Yellowy Brown
#AE8B0C
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18E1F #1F32A1
analogous
#A14D1F #A18E1F #73A11F
triadic
#A18E1F #1FA18E #8E1FA1
tetradic
#A18E1F #1FA14D #1F32A1 #A11F73
square
#A18E1F #1FA14D #1F32A1 #A11F73
split-complementary
#A18E1F #1F73A1 #4D1FA1
monochromatic
#3A330B #6E6115 #A18E1F #D4BB29 #DFCC5B
Accessibility & contrast
On white
3.28
#A18E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#A18E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A18E1F
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18E1F | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A29127
Tritanopia (blue-blind)
#AE8379
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a18e1f; /* rgb */ color: rgb(161, 142, 31); /* oklch */ color: oklch(64.5% 0.124 98.8);
Tailwind
colors: {
custom: {
50: '#c1ae65',
500: '#a18e1f',
950: '#000000',
},
}SCSS
$custom: #a18e1f; $custom-light: #c1ae65; $custom-dark: #000000;
JSON
{
"hex": "#a18e1f",
"rgb": {
"r": 161,
"g": 142,
"b": 31
},
"hsl": {
"h": 51.231,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.645,
"c": 0.12424,
"h": 98.8
},
"luminance": 0.27022
}Semantic roles & 50–950 ramp
primary
#A18E1F
secondary
#5868C4
accent
#57EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A