#A58E1F#A58E1F
#A58E1F is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.9% C 0.124 H 96.5°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A58E1F |
|---|---|
| RGB | rgb(165, 142, 31) |
| HSL | hsl(50, 68%, 38%) |
| HSV | hsv(50, 81%, 65%) |
| CMYK | cmyk(0%, 13.9%, 81.2%, 35.3%) |
| CIE-LAB | lab(59.38, -2.71, 57.16) |
| CIE-LCH | lch(59.38, 57.23, 92.72°) |
| OKLab | oklab(64.9% -0.0141 0.1236) |
| OKLCH | oklch(64.9% 0.124 96.5) |
| XYZ | xyz(25.4388, 27.4457, 5.2537) |
| Luminance | 0.2744 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 2.22
Baby Shit Brown
#AD900D
ΔE00 2.40
Dark Mustard
#A88905
ΔE00 2.87
Yellowy Brown
#AE8B0C
ΔE00 3.67
Diarrhea
#9F8303
ΔE00 3.89
Brown Yellow
#B29705
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A58E1F #1F36A5
analogous
#A54B1F #A58E1F #79A51F
triadic
#A58E1F #1FA58E #8E1FA5
tetradic
#A58E1F #1FA54B #1F36A5 #A51F79
square
#A58E1F #1FA54B #1F36A5 #A51F79
split-complementary
#A58E1F #1F79A5 #4B1FA5
monochromatic
#3E350C #716215 #A58E1F #D7B92A #E1CA5E
Accessibility & contrast
On white
3.24
#A58E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#A58E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A58E1F
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A58E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A58E1F | 1.00 | 3.24 | 6.49 | 6.49 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#A39227
Tritanopia (blue-blind)
#B3827A
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a58e1f; /* rgb */ color: rgb(165, 142, 31); /* oklch */ color: oklch(64.9% 0.124 96.5);
Tailwind
colors: {
custom: {
50: '#c4ae65',
500: '#a58e1f',
950: '#000000',
},
}SCSS
$custom: #a58e1f; $custom-light: #c4ae65; $custom-dark: #000000;
JSON
{
"hex": "#a58e1f",
"rgb": {
"r": 165,
"g": 142,
"b": 31
},
"hsl": {
"h": 49.701,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.64899,
"c": 0.12444,
"h": 96.5
},
"luminance": 0.27444
}Semantic roles & 50–950 ramp
primary
#A58E1F
secondary
#5B6DC5
accent
#5BEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A