#A18F1F#A18F1F
#A18F1F is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.7% C 0.125 H 99.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A18F1F |
|---|---|
| RGB | rgb(161, 143, 31) |
| HSL | hsl(52, 68%, 38%) |
| HSV | hsv(52, 81%, 63%) |
| CMYK | cmyk(0%, 11.2%, 80.7%, 36.9%) |
| CIE-LAB | lab(59.27, -5.08, 56.91) |
| CIE-LCH | lch(59.27, 57.14, 95.10°) |
| OKLab | oklab(64.72% -0.0206 0.1233) |
| OKLCH | oklch(64.72% 0.125 99.5) |
| XYZ | xyz(24.7690, 27.3222, 5.2651) |
| Luminance | 0.2732 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.22
Baby Shit Brown
#AD900D
ΔE00 3.62
Dark Mustard
#A88905
ΔE00 4.22
Brown Yellow
#B29705
ΔE00 4.55
Diarrhea
#9F8303
ΔE00 4.73
Yellowy Brown
#AE8B0C
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18F1F #1F31A1
analogous
#A14E1F #A18F1F #72A11F
triadic
#A18F1F #1FA18F #8F1FA1
tetradic
#A18F1F #1FA14E #1F31A1 #A11F72
square
#A18F1F #1FA14E #1F31A1 #A11F72
split-complementary
#A18F1F #1F72A1 #4E1FA1
monochromatic
#3A340B #6E6115 #A18F1F #D4BD29 #DFCD5B
Accessibility & contrast
On white
3.25
#A18F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#A18F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A18F1F
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18F1F | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A39128
Tritanopia (blue-blind)
#AE847A
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a18f1f; /* rgb */ color: rgb(161, 143, 31); /* oklch */ color: oklch(64.7% 0.125 99.5);
Tailwind
colors: {
custom: {
50: '#c1af65',
500: '#a18f1f',
950: '#000000',
},
}SCSS
$custom: #a18f1f; $custom-light: #c1af65; $custom-dark: #000000;
JSON
{
"hex": "#a18f1f",
"rgb": {
"r": 161,
"g": 143,
"b": 31
},
"hsl": {
"h": 51.692,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.64718,
"c": 0.12501,
"h": 99.5
},
"luminance": 0.27321
}Semantic roles & 50–950 ramp
primary
#A18F1F
secondary
#5867C4
accent
#55EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A