#A18D31#A18D31
#A18D31 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.4% C 0.112 H 96.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A18D31 |
|---|---|
| RGB | rgb(161, 141, 49) |
| HSL | hsl(49, 53%, 41%) |
| HSV | hsv(49, 70%, 63%) |
| CMYK | cmyk(0%, 12.4%, 69.6%, 36.9%) |
| CIE-LAB | lab(58.84, -3.15, 49.74) |
| CIE-LCH | lch(58.84, 49.84, 93.63°) |
| OKLab | oklab(64.41% -0.0132 0.1116) |
| OKLCH | oklch(64.41% 0.112 96.8) |
| XYZ | xyz(24.7784, 26.8498, 6.7825) |
| Luminance | 0.2685 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 4.46
Baby Shit Brown
#AD900D
ΔE00 4.49
Dark Mustard
#A88905
ΔE00 4.52
Diarrhea
#9F8303
ΔE00 4.72
Yellowy Brown
#AE8B0C
ΔE00 5.24
Dark Gold
#B59410
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18D31 #3145A1
analogous
#A15531 #A18D31 #7DA131
triadic
#A18D31 #31A18D #8D31A1
tetradic
#A18D31 #31A155 #3145A1 #A1317D
square
#A18D31 #31A155 #3145A1 #A1317D
split-complementary
#A18D31 #317DA1 #5531A1
monochromatic
#433B14 #726423 #A18D31 #C7B148 #D6C577
Accessibility & contrast
On white
3.30
#A18D31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#A18D31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A18D31
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18D31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18D31 | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8A25
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#AE827A
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a18d31; /* rgb */ color: rgb(161, 141, 49); /* oklch */ color: oklch(64.4% 0.112 96.8);
Tailwind
colors: {
custom: {
50: '#c0ae6e',
500: '#a18d31',
950: '#000000',
},
}SCSS
$custom: #a18d31; $custom-light: #c0ae6e; $custom-dark: #000000;
JSON
{
"hex": "#a18d31",
"rgb": {
"r": 161,
"g": 141,
"b": 49
},
"hsl": {
"h": 49.286,
"s": 53.333,
"l": 41.176
},
"oklch": {
"l": 0.64409,
"c": 0.11238,
"h": 96.8
},
"luminance": 0.26849
}Semantic roles & 50–950 ramp
primary
#A18D31
secondary
#707EBE
accent
#65DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A