#A18F20#A18F20
#A18F20 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.7% C 0.125 H 99.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A18F20 |
|---|---|
| RGB | rgb(161, 143, 32) |
| HSL | hsl(52, 67%, 38%) |
| HSV | hsv(52, 80%, 63%) |
| CMYK | cmyk(0%, 11.2%, 80.1%, 36.9%) |
| CIE-LAB | lab(59.28, -5.04, 56.60) |
| CIE-LCH | lch(59.28, 56.82, 95.09°) |
| OKLab | oklab(64.72% -0.0204 0.1228) |
| OKLCH | oklch(64.72% 0.125 99.4) |
| XYZ | xyz(24.7824, 27.3275, 5.3356) |
| Luminance | 0.2733 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.26
Baby Shit Brown
#AD900D
ΔE00 3.64
Dark Mustard
#A88905
ΔE00 4.24
Brown Yellow
#B29705
ΔE00 4.59
Diarrhea
#9F8303
ΔE00 4.74
Yellowy Brown
#AE8B0C
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18F20 #2032A1
analogous
#A14F20 #A18F20 #72A120
triadic
#A18F20 #20A18F #8F20A1
tetradic
#A18F20 #20A14F #2032A1 #A12072
square
#A18F20 #20A14F #2032A1 #A12072
split-complementary
#A18F20 #2072A1 #4F20A1
monochromatic
#3B340C #6E6216 #A18F20 #D4BC2A #DFCD5D
Accessibility & contrast
On white
3.25
#A18F20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#A18F20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A18F20
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18F20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18F20 | 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)
#9E8B02
Deuteranopia (green-blind)
#A39128
Tritanopia (blue-blind)
#AE847A
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a18f20; /* rgb */ color: rgb(161, 143, 32); /* oklch */ color: oklch(64.7% 0.125 99.4);
Tailwind
colors: {
custom: {
50: '#c1af66',
500: '#a18f20',
950: '#000000',
},
}SCSS
$custom: #a18f20; $custom-light: #c1af66; $custom-dark: #000000;
JSON
{
"hex": "#a18f20",
"rgb": {
"r": 161,
"g": 143,
"b": 32
},
"hsl": {
"h": 51.628,
"s": 66.839,
"l": 37.843
},
"oklch": {
"l": 0.64724,
"c": 0.12452,
"h": 99.4
},
"luminance": 0.27326
}Semantic roles & 50–950 ramp
primary
#A18F20
secondary
#5A68C3
accent
#56EA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A