#A5AF35#A5AF35
#A5AF35 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.4% C 0.142 H 114.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AF35 |
|---|---|
| RGB | rgb(165, 175, 53) |
| HSL | hsl(65, 54%, 45%) |
| HSV | hsv(65, 70%, 69%) |
| CMYK | cmyk(5.7%, 0%, 69.7%, 31.4%) |
| CIE-LAB | lab(68.69, -19.07, 58.19) |
| CIE-LCH | lch(68.69, 61.24, 108.14°) |
| OKLab | oklab(72.36% -0.0579 0.13) |
| OKLCH | oklch(72.36% 0.142 114) |
| XYZ | xyz(31.4905, 38.9169, 9.2203) |
| Luminance | 0.3892 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.22
Mustard Green
#A8B504
ΔE00 3.63
Pea Soup Green
#94A617
ΔE00 3.79
Booger
#9BB53C
ΔE00 3.87
Barf Green
#94AC02
ΔE00 3.95
Vomit
#A2A415
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AF35 #3F35AF
analogous
#AF7C35 #A5AF35 #68AF35
triadic
#A5AF35 #35A5AF #AF35A5
tetradic
#A5AF35 #35AF7C #3F35AF #AF3568
square
#A5AF35 #35AF7C #3F35AF #AF3568
split-complementary
#A5AF35 #3568AF #7C35AF
monochromatic
#4C5119 #798027 #A5AF35 #C2CC56 #D3DA85
Accessibility & contrast
On white
2.39
#A5AF35 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#A5AF35 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AF35
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AF35 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AF35 | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA621
Deuteranopia (green-blind)
#BBA93E
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a5af35; /* rgb */ color: rgb(165, 175, 53); /* oklch */ color: oklch(72.4% 0.142 114.0);
Tailwind
colors: {
custom: {
50: '#c3c674',
500: '#a5af35',
950: '#000000',
},
}SCSS
$custom: #a5af35; $custom-light: #c3c674; $custom-dark: #000000;
JSON
{
"hex": "#a5af35",
"rgb": {
"r": 165,
"g": 175,
"b": 53
},
"hsl": {
"h": 64.918,
"s": 53.509,
"l": 44.706
},
"oklch": {
"l": 0.72355,
"c": 0.1423,
"h": 114
},
"luminance": 0.38916
}Semantic roles & 50–950 ramp
primary
#A5AF35
secondary
#827CC4
accent
#4BDD57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B