#A5942B#A5942B
#A5942B is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.3% C 0.122 H 99.8°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A5942B |
|---|---|
| RGB | rgb(165, 148, 43) |
| HSL | hsl(52, 59%, 41%) |
| HSV | hsv(52, 74%, 65%) |
| CMYK | cmyk(0%, 10.3%, 73.9%, 35.3%) |
| CIE-LAB | lab(61.09, -5.48, 54.54) |
| CIE-LCH | lch(61.09, 54.82, 95.73°) |
| OKLab | oklab(66.27% -0.0207 0.1205) |
| OKLCH | oklch(66.27% 0.122 99.8) |
| XYZ | xyz(26.5443, 29.3548, 6.5529) |
| Luminance | 0.2935 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.81
Baby Shit Brown
#AD900D
ΔE00 4.07
Brown Yellow
#B29705
ΔE00 4.28
Dark Gold
#B59410
ΔE00 5.17
Dark Mustard
#A88905
ΔE00 5.33
Yellowy Brown
#AE8B0C
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5942B #2B3CA5
analogous
#A5572B #A5942B #79A52B
triadic
#A5942B #2BA594 #942BA5
tetradic
#A5942B #2BA557 #2B3CA5 #A52B79
square
#A5942B #2BA557 #2B3CA5 #A52B79
split-complementary
#A5942B #2B79A5 #572BA5
monochromatic
#443D12 #74681E #A5942B #CDBA40 #DACB71
Accessibility & contrast
On white
3.06
#A5942B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#A5942B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A5942B
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5942B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5942B | 1.00 | 3.06 | 6.87 | 6.87 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39019
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#B2897F
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a5942b; /* rgb */ color: rgb(165, 148, 43); /* oklch */ color: oklch(66.3% 0.122 99.8);
Tailwind
colors: {
custom: {
50: '#c3b36c',
500: '#a5942b',
950: '#000000',
},
}SCSS
$custom: #a5942b; $custom-light: #c3b36c; $custom-dark: #000000;
JSON
{
"hex": "#a5942b",
"rgb": {
"r": 165,
"g": 148,
"b": 43
},
"hsl": {
"h": 51.639,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.66275,
"c": 0.12225,
"h": 99.8
},
"luminance": 0.29354
}Semantic roles & 50–950 ramp
primary
#A5942B
secondary
#6B77C1
accent
#5CE246
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131007
muted
#827F7A