#A5A240#A5A240
#A5A240 is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.5% C 0.120 H 107.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A240 |
|---|---|
| RGB | rgb(165, 162, 64) |
| HSL | hsl(58, 44%, 45%) |
| HSV | hsv(58, 61%, 65%) |
| CMYK | cmyk(0%, 1.8%, 61.2%, 35.3%) |
| CIE-LAB | lab(65.13, -11.69, 49.93) |
| CIE-LCH | lch(65.13, 51.28, 103.18°) |
| OKLab | oklab(69.54% -0.036 0.1143) |
| OKLCH | oklch(69.54% 0.12 107.5) |
| XYZ | xyz(29.3637, 34.2110, 9.9061) |
| Luminance | 0.3421 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.21
Puke
#A5A502
ΔE00 4.97
Khaki (survey)
#AAA662
ΔE00 5.15
Pea Soup
#929901
ΔE00 5.74
Pea Soup Green
#94A617
ΔE00 6.00
Baby Poop Green
#8F9805
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A240 #4043A5
analogous
#A57040 #A5A240 #75A540
triadic
#A5A240 #40A5A2 #A240A5
tetradic
#A5A240 #40A570 #4043A5 #A54075
square
#A5A240 #40A570 #4043A5 #A54075
split-complementary
#A5A240 #4075A5 #7040A5
monochromatic
#4D4B1E #79772F #A5A240 #C2BF61 #D3D18D
Accessibility & contrast
On white
2.68
#A5A240 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#A5A240 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A240
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A240 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A240 | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9C35
Deuteranopia (green-blind)
#B1A046
Tritanopia (blue-blind)
#B0988D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a240; /* rgb */ color: rgb(165, 162, 64); /* oklch */ color: oklch(69.5% 0.120 107.5);
Tailwind
colors: {
custom: {
50: '#c2bd79',
500: '#a5a240',
950: '#000000',
},
}SCSS
$custom: #a5a240; $custom-light: #c2bd79; $custom-dark: #000000;
JSON
{
"hex": "#a5a240",
"rgb": {
"r": 165,
"g": 162,
"b": 64
},
"hsl": {
"h": 58.218,
"s": 44.105,
"l": 44.902
},
"oklch": {
"l": 0.69536,
"c": 0.11978,
"h": 107.5
},
"luminance": 0.3421
}Semantic roles & 50–950 ramp
primary
#A5A240
secondary
#8385BE
accent
#58D454
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B