#A18F1B#A18F1B
#A18F1B is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.7% C 0.127 H 99.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A18F1B |
|---|---|
| RGB | rgb(161, 143, 27) |
| HSL | hsl(52, 71%, 37%) |
| HSV | hsv(52, 83%, 63%) |
| CMYK | cmyk(0%, 11.2%, 83.2%, 36.9%) |
| CIE-LAB | lab(59.25, -5.21, 58.11) |
| CIE-LCH | lch(59.25, 58.34, 95.12°) |
| OKLab | oklab(64.7% -0.0213 0.1251) |
| OKLCH | oklch(64.7% 0.127 99.7) |
| XYZ | xyz(24.7195, 27.3024, 5.0045) |
| Luminance | 0.2730 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.07
Baby Shit Brown
#AD900D
ΔE00 3.52
Dark Mustard
#A88905
ΔE00 4.17
Brown Yellow
#B29705
ΔE00 4.42
Diarrhea
#9F8303
ΔE00 4.70
Yellowy Brown
#AE8B0C
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A18F1B #1B2DA1
analogous
#A14C1B #A18F1B #70A11B
triadic
#A18F1B #1BA18F #8F1BA1
tetradic
#A18F1B #1BA14C #1B2DA1 #A11B70
square
#A18F1B #1BA14C #1B2DA1 #A11B70
split-complementary
#A18F1B #1B70A1 #4C1BA1
monochromatic
#383209 #6D6012 #A18F1B #D5BE24 #E2CF54
Accessibility & contrast
On white
3.25
#A18F1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#A18F1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A18F1B
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A18F1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A18F1B | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A39125
Tritanopia (blue-blind)
#AE847A
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a18f1b; /* rgb */ color: rgb(161, 143, 27); /* oklch */ color: oklch(64.7% 0.127 99.7);
Tailwind
colors: {
custom: {
50: '#c1af64',
500: '#a18f1b',
950: '#000000',
},
}SCSS
$custom: #a18f1b; $custom-light: #c1af64; $custom-dark: #000000;
JSON
{
"hex": "#a18f1b",
"rgb": {
"r": 161,
"g": 143,
"b": 27
},
"hsl": {
"h": 51.94,
"s": 71.277,
"l": 36.863
},
"oklch": {
"l": 0.64698,
"c": 0.12687,
"h": 99.7
},
"luminance": 0.27301
}Semantic roles & 50–950 ramp
primary
#A18F1B
secondary
#5262C5
accent
#52EE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A