#A18A1F#A18A1F
#A18A1F is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.6% C 0.121 H 96.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A18A1F |
|---|---|
| RGB | rgb(161, 138, 31) |
| HSL | hsl(49, 68%, 38%) |
| HSV | hsv(49, 81%, 63%) |
| CMYK | cmyk(0%, 14.3%, 80.7%, 36.9%) |
| CIE-LAB | lab(57.90, -2.34, 55.69) |
| CIE-LCH | lch(57.90, 55.74, 92.41°) |
| OKLab | oklab(63.63% -0.0128 0.1207) |
| OKLCH | oklch(63.63% 0.121 96.1) |
| XYZ | xyz(24.0351, 25.8543, 5.0205) |
| Luminance | 0.2585 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 2.76
Diarrhea
#9F8303
ΔE00 2.84
Baby Poo
#AB9004
ΔE00 3.26
Baby Shit Brown
#AD900D
ΔE00 3.38
Yellowy Brown
#AE8B0C
ΔE00 3.90
Baby Poop
#937C00
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18A1F #1F36A1
analogous
#A1491F #A18A1F #77A11F
triadic
#A18A1F #1FA18A #8A1FA1
tetradic
#A18A1F #1FA149 #1F36A1 #A11F77
square
#A18A1F #1FA149 #1F36A1 #A11F77
split-complementary
#A18A1F #1F77A1 #491FA1
monochromatic
#3A320B #6E5E15 #A18A1F #D4B629 #DFC85B
Accessibility & contrast
On white
3.40
#A18A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#A18A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A18A1F
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18A1F | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998703
Deuteranopia (green-blind)
#9F8E27
Tritanopia (blue-blind)
#AE7F76
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a18a1f; /* rgb */ color: rgb(161, 138, 31); /* oklch */ color: oklch(63.6% 0.121 96.1);
Tailwind
colors: {
custom: {
50: '#c1ab65',
500: '#a18a1f',
950: '#000000',
},
}SCSS
$custom: #a18a1f; $custom-light: #c1ab65; $custom-dark: #000000;
JSON
{
"hex": "#a18a1f",
"rgb": {
"r": 161,
"g": 138,
"b": 31
},
"hsl": {
"h": 49.385,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.63631,
"c": 0.12136,
"h": 96.1
},
"luminance": 0.25853
}Semantic roles & 50–950 ramp
primary
#A18A1F
secondary
#586BC4
accent
#5CEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A