#A18E1C#A18E1C
#A18E1C is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.5% C 0.126 H 99.0°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A18E1C |
|---|---|
| RGB | rgb(161, 142, 28) |
| HSL | hsl(51, 70%, 37%) |
| HSV | hsv(51, 83%, 63%) |
| CMYK | cmyk(0%, 11.8%, 82.6%, 36.9%) |
| CIE-LAB | lab(58.98, -4.64, 57.58) |
| CIE-LCH | lch(58.98, 57.77, 94.60°) |
| OKLab | oklab(64.48% -0.0196 0.1241) |
| OKLCH | oklch(64.48% 0.126 99) |
| XYZ | xyz(24.5818, 27.0082, 5.0167) |
| Luminance | 0.2701 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 2.98
Baby Shit Brown
#AD900D
ΔE00 3.38
Dark Mustard
#A88905
ΔE00 3.83
Diarrhea
#9F8303
ΔE00 4.30
Brown Yellow
#B29705
ΔE00 4.52
Yellowy Brown
#AE8B0C
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18E1C #1C2FA1
analogous
#A14C1C #A18E1C #71A11C
triadic
#A18E1C #1CA18E #8E1CA1
tetradic
#A18E1C #1CA14C #1C2FA1 #A11C71
square
#A18E1C #1CA14C #1C2FA1 #A11C71
split-complementary
#A18E1C #1C71A1 #4C1CA1
monochromatic
#39320A #6D6013 #A18E1C #D5BC25 #E2CE56
Accessibility & contrast
On white
3.28
#A18E1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#A18E1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A18E1C
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18E1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18E1C | 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)
#A29125
Tritanopia (blue-blind)
#AE8379
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a18e1c; /* rgb */ color: rgb(161, 142, 28); /* oklch */ color: oklch(64.5% 0.126 99.0);
Tailwind
colors: {
custom: {
50: '#c1ae64',
500: '#a18e1c',
950: '#000000',
},
}SCSS
$custom: #a18e1c; $custom-light: #c1ae64; $custom-dark: #000000;
JSON
{
"hex": "#a18e1c",
"rgb": {
"r": 161,
"g": 142,
"b": 28
},
"hsl": {
"h": 51.429,
"s": 70.37,
"l": 37.059
},
"oklch": {
"l": 0.64484,
"c": 0.12566,
"h": 99
},
"luminance": 0.27007
}Semantic roles & 50–950 ramp
primary
#A18E1C
secondary
#5464C5
accent
#54ED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A