#A18B18#A18B18
#A18B18 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.8% C 0.125 H 97.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A18B18 |
|---|---|
| RGB | rgb(161, 139, 24) |
| HSL | hsl(50, 74%, 36%) |
| HSV | hsv(50, 85%, 63%) |
| CMYK | cmyk(0%, 13.7%, 85.1%, 36.9%) |
| CIE-LAB | lab(58.14, -3.12, 58.00) |
| CIE-LCH | lch(58.14, 58.08, 93.08°) |
| OKLab | oklab(63.81% -0.0156 0.1242) |
| OKLCH | oklch(63.81% 0.125 97.2) |
| XYZ | xyz(24.0968, 26.1096, 4.6344) |
| Luminance | 0.2611 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 2.81
Baby Poo
#AB9004
ΔE00 2.81
Diarrhea
#9F8303
ΔE00 3.07
Baby Shit Brown
#AD900D
ΔE00 3.09
Yellowy Brown
#AE8B0C
ΔE00 4.01
Brown Yellow
#B29705
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18B18 #182EA1
analogous
#A14718 #A18B18 #73A118
triadic
#A18B18 #18A18B #8B18A1
tetradic
#A18B18 #18A147 #182EA1 #A11873
square
#A18B18 #18A147 #182EA1 #A11873
split-complementary
#A18B18 #1873A1 #4718A1
monochromatic
#362F08 #6C5D10 #A18B18 #D6B920 #E5CD4F
Accessibility & contrast
On white
3.38
#A18B18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#A18B18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A18B18
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18B18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18B18 | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#A08F22
Tritanopia (blue-blind)
#AF7F77
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a18b18; /* rgb */ color: rgb(161, 139, 24); /* oklch */ color: oklch(63.8% 0.125 97.2);
Tailwind
colors: {
custom: {
50: '#c1ac62',
500: '#a18b18',
950: '#000000',
},
}SCSS
$custom: #a18b18; $custom-light: #c1ac62; $custom-dark: #000000;
JSON
{
"hex": "#a18b18",
"rgb": {
"r": 161,
"g": 139,
"b": 24
},
"hsl": {
"h": 50.365,
"s": 74.054,
"l": 36.275
},
"oklch": {
"l": 0.63813,
"c": 0.12521,
"h": 97.2
},
"luminance": 0.26108
}Semantic roles & 50–950 ramp
primary
#A18B18
secondary
#4E61C7
accent
#55F137
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A