#AC8A18#AC8A18
#AC8A18 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.7% C 0.126 H 90.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AC8A18 |
|---|---|
| RGB | rgb(172, 138, 24) |
| HSL | hsl(46, 76%, 38%) |
| HSV | hsv(46, 86%, 67%) |
| CMYK | cmyk(0%, 19.8%, 86%, 32.5%) |
| CIE-LAB | lab(58.99, 2.46, 59.16) |
| CIE-LCH | lch(58.99, 59.21, 87.62°) |
| OKLab | oklab(64.74% -0.0004 0.1261) |
| OKLCH | oklch(64.74% 0.126 90.2) |
| XYZ | xyz(26.2683, 27.0153, 4.6949) |
| Luminance | 0.2701 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 0.91
Dark Mustard
#A88905
ΔE00 1.52
Baby Shit Brown
#AD900D
ΔE00 2.68
Baby Poo
#AB9004
ΔE00 3.21
Diarrhea
#9F8303
ΔE00 3.44
Dark Gold
#B59410
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC8A18 #183AAC
analogous
#AC4018 #AC8A18 #84AC18
triadic
#AC8A18 #18AC8A #8A18AC
tetradic
#AC8A18 #18AC40 #183AAC #AC1884
square
#AC8A18 #18AC40 #183AAC #AC1884
split-complementary
#AC8A18 #1884AC #4018AC
monochromatic
#413409 #765F11 #AC8A18 #E0B421 #E8C657
Accessibility & contrast
On white
3.28
#AC8A18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#AC8A18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AC8A18
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC8A18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC8A18 | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#A39221
Tritanopia (blue-blind)
#BB7D76
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #ac8a18; /* rgb */ color: rgb(172, 138, 24); /* oklch */ color: oklch(64.7% 0.126 90.2);
Tailwind
colors: {
custom: {
50: '#caab62',
500: '#ac8a18',
950: '#000000',
},
}SCSS
$custom: #ac8a18; $custom-light: #caab62; $custom-dark: #000000;
JSON
{
"hex": "#ac8a18",
"rgb": {
"r": 172,
"g": 138,
"b": 24
},
"hsl": {
"h": 46.216,
"s": 75.51,
"l": 38.431
},
"oklch": {
"l": 0.64741,
"c": 0.12611,
"h": 90.2
},
"luminance": 0.27014
}Semantic roles & 50–950 ramp
primary
#AC8A18
secondary
#5570CB
accent
#61F236
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#141006
muted
#837F7A