#A18F28#A18F28
#A18F28 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.8% C 0.120 H 98.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A18F28 |
|---|---|
| RGB | rgb(161, 143, 40) |
| HSL | hsl(51, 60%, 39%) |
| HSV | hsv(51, 75%, 63%) |
| CMYK | cmyk(0%, 11.2%, 75.2%, 36.9%) |
| CIE-LAB | lab(59.32, -4.71, 53.84) |
| CIE-LCH | lch(59.32, 54.05, 95.00°) |
| OKLab | oklab(64.77% -0.0186 0.1186) |
| OKLCH | oklch(64.77% 0.12 98.9) |
| XYZ | xyz(24.9046, 27.3764, 5.9794) |
| Luminance | 0.2737 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.72
Baby Shit Brown
#AD900D
ΔE00 3.98
Dark Mustard
#A88905
ΔE00 4.48
Diarrhea
#9F8303
ΔE00 4.91
Brown Yellow
#B29705
ΔE00 5.00
Yellowy Brown
#AE8B0C
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18F28 #283AA1
analogous
#A15228 #A18F28 #77A128
triadic
#A18F28 #28A18F #8F28A1
tetradic
#A18F28 #28A152 #283AA1 #A12877
square
#A18F28 #28A152 #283AA1 #A12877
split-complementary
#A18F28 #2877A1 #5228A1
monochromatic
#3F3810 #70631C #A18F28 #CEB739 #DAC96A
Accessibility & contrast
On white
3.24
#A18F28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.48
#A18F28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A18F28
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18F28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18F28 | 1.00 | 3.24 | 6.48 | 6.48 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B15
Deuteranopia (green-blind)
#A2922F
Tritanopia (blue-blind)
#AE847B
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a18f28; /* rgb */ color: rgb(161, 143, 40); /* oklch */ color: oklch(64.8% 0.120 98.9);
Tailwind
colors: {
custom: {
50: '#c0af6a',
500: '#a18f28',
950: '#000000',
},
}SCSS
$custom: #a18f28; $custom-light: #c0af6a; $custom-dark: #000000;
JSON
{
"hex": "#a18f28",
"rgb": {
"r": 161,
"g": 143,
"b": 40
},
"hsl": {
"h": 51.074,
"s": 60.199,
"l": 39.412
},
"oklch": {
"l": 0.64774,
"c": 0.12004,
"h": 98.9
},
"luminance": 0.27375
}Semantic roles & 50–950 ramp
primary
#A18F28
secondary
#6572C0
accent
#5CE344
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A