#A5982B#A5982B
#A5982B is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.126 H 102.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A5982B |
|---|---|
| RGB | rgb(165, 152, 43) |
| HSL | hsl(54, 59%, 41%) |
| HSV | hsv(54, 74%, 65%) |
| CMYK | cmyk(0%, 7.9%, 73.9%, 35.3%) |
| CIE-LAB | lab(62.20, -7.63, 55.60) |
| CIE-LCH | lch(62.20, 56.12, 97.81°) |
| OKLab | oklab(67.15% -0.0268 0.1227) |
| OKLCH | oklch(67.15% 0.126 102.3) |
| XYZ | xyz(27.1826, 30.6314, 6.7657) |
| Luminance | 0.3063 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.77
Baby Poo
#AB9004
ΔE00 4.93
Baby Shit Brown
#AD900D
ΔE00 5.28
Vomit
#A2A415
ΔE00 5.41
Puke
#A5A502
ΔE00 5.64
Pea Soup
#929901
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5982B #2B38A5
analogous
#A55B2B #A5982B #75A52B
triadic
#A5982B #2BA598 #982BA5
tetradic
#A5982B #2BA55B #2B38A5 #A52B75
square
#A5982B #2BA55B #2B38A5 #A52B75
split-complementary
#A5982B #2B75A5 #5B2BA5
monochromatic
#443F12 #746B1E #A5982B #CDBE40 #DACF71
Accessibility & contrast
On white
2.95
#A5982B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#A5982B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5982B
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5982B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5982B | 1.00 | 2.95 | 7.13 | 7.13 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A69317
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#B28D83
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a5982b; /* rgb */ color: rgb(165, 152, 43); /* oklch */ color: oklch(67.1% 0.126 102.3);
Tailwind
colors: {
custom: {
50: '#c3b66c',
500: '#a5982b',
950: '#000000',
},
}SCSS
$custom: #a5982b; $custom-light: #c3b66c; $custom-dark: #000000;
JSON
{
"hex": "#a5982b",
"rgb": {
"r": 165,
"g": 152,
"b": 43
},
"hsl": {
"h": 53.607,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.67149,
"c": 0.12562,
"h": 102.3
},
"luminance": 0.3063
}Semantic roles & 50–950 ramp
primary
#A5982B
secondary
#6B74C1
accent
#57E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A