#A18B17#A18B17
#A18B17 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.8% C 0.126 H 97.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A18B17 |
|---|---|
| RGB | rgb(161, 139, 23) |
| HSL | hsl(50, 75%, 36%) |
| HSV | hsv(50, 86%, 63%) |
| CMYK | cmyk(0%, 13.7%, 85.7%, 36.9%) |
| CIE-LAB | lab(58.14, -3.15, 58.26) |
| CIE-LCH | lch(58.14, 58.35, 93.09°) |
| OKLab | oklab(63.81% -0.0158 0.1246) |
| OKLCH | oklch(63.81% 0.126 97.2) |
| XYZ | xyz(24.0866, 26.1055, 4.5806) |
| Luminance | 0.2610 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 2.78
Dark Mustard
#A88905
ΔE00 2.79
Diarrhea
#9F8303
ΔE00 3.07
Baby Shit Brown
#AD900D
ΔE00 3.07
Yellowy Brown
#AE8B0C
ΔE00 4.00
Brown Yellow
#B29705
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18B17 #172DA1
analogous
#A14617 #A18B17 #72A117
triadic
#A18B17 #17A18B #8B17A1
tetradic
#A18B17 #17A146 #172DA1 #A11772
square
#A18B17 #17A146 #172DA1 #A11772
split-complementary
#A18B17 #1772A1 #4617A1
monochromatic
#362F08 #6B5D0F #A18B17 #D7B91F #E6CD4D
Accessibility & contrast
On white
3.38
#A18B17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#A18B17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A18B17
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18B17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18B17 | 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)
#A08F21
Tritanopia (blue-blind)
#AF7F76
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a18b17; /* rgb */ color: rgb(161, 139, 23); /* oklch */ color: oklch(63.8% 0.126 97.2);
Tailwind
colors: {
custom: {
50: '#c1ac62',
500: '#a18b17',
950: '#000000',
},
}SCSS
$custom: #a18b17; $custom-light: #c1ac62; $custom-dark: #000000;
JSON
{
"hex": "#a18b17",
"rgb": {
"r": 161,
"g": 139,
"b": 23
},
"hsl": {
"h": 50.435,
"s": 75,
"l": 36.078
},
"oklch": {
"l": 0.63808,
"c": 0.12561,
"h": 97.2
},
"luminance": 0.26104
}Semantic roles & 50–950 ramp
primary
#A18B17
secondary
#4C60C7
accent
#54F236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A