#A5A335#A5A335
#A5A335 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.129 H 108.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A335 |
|---|---|
| RGB | rgb(165, 163, 53) |
| HSL | hsl(59, 51%, 43%) |
| HSV | hsv(59, 68%, 65%) |
| CMYK | cmyk(0%, 1.2%, 67.9%, 35.3%) |
| CIE-LAB | lab(65.32, -12.91, 54.81) |
| CIE-LCH | lch(65.32, 56.31, 103.26°) |
| OKLab | oklab(69.66% -0.0407 0.1229) |
| OKLCH | oklch(69.66% 0.129 108.3) |
| XYZ | xyz(29.2579, 34.4517, 8.4761) |
| Luminance | 0.3445 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.75
Puke
#A5A502
ΔE00 3.51
Pea Soup
#929901
ΔE00 4.93
Pea Soup Green
#94A617
ΔE00 5.10
Baby Poop Green
#8F9805
ΔE00 5.38
Puke Green
#9AAE07
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A335 #3537A5
analogous
#A56B35 #A5A335 #6FA535
triadic
#A5A335 #35A5A3 #A335A5
tetradic
#A5A335 #35A56B #3537A5 #A5356F
square
#A5A335 #35A56B #3537A5 #A5356F
split-complementary
#A5A335 #356FA5 #6B35A5
monochromatic
#484717 #777526 #A5A335 #C7C550 #D6D47F
Accessibility & contrast
On white
2.66
#A5A335 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.89
#A5A335 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A335
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A335 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A335 | 1.00 | 2.66 | 7.89 | 7.89 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C25
Deuteranopia (green-blind)
#B2A03C
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a5a335; /* rgb */ color: rgb(165, 163, 53); /* oklch */ color: oklch(69.7% 0.129 108.3);
Tailwind
colors: {
custom: {
50: '#c3be73',
500: '#a5a335',
950: '#000000',
},
}SCSS
$custom: #a5a335; $custom-light: #c3be73; $custom-dark: #000000;
JSON
{
"hex": "#a5a335",
"rgb": {
"r": 165,
"g": 163,
"b": 53
},
"hsl": {
"h": 58.929,
"s": 51.376,
"l": 42.745
},
"oklch": {
"l": 0.69659,
"c": 0.1294,
"h": 108.3
},
"luminance": 0.34451
}Semantic roles & 50–950 ramp
primary
#A5A335
secondary
#7778BF
accent
#4FDB4D
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B