#A5AF34#A5AF34
#A5AF34 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.143 H 114.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AF34 |
|---|---|
| RGB | rgb(165, 175, 52) |
| HSL | hsl(65, 54%, 45%) |
| HSV | hsv(65, 70%, 69%) |
| CMYK | cmyk(5.7%, 0%, 70.3%, 31.4%) |
| CIE-LAB | lab(68.68, -19.12, 58.56) |
| CIE-LCH | lch(68.68, 61.61, 108.08°) |
| OKLab | oklab(72.35% -0.0582 0.1306) |
| OKLCH | oklch(72.35% 0.143 114) |
| XYZ | xyz(31.4677, 38.9078, 9.1004) |
| Luminance | 0.3891 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.15
Mustard Green
#A8B504
ΔE00 3.54
Pea Soup Green
#94A617
ΔE00 3.76
Barf Green
#94AC02
ΔE00 3.89
Booger
#9BB53C
ΔE00 3.91
Vomit
#A2A415
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AF34 #3E34AF
analogous
#AF7C34 #A5AF34 #68AF34
triadic
#A5AF34 #34A5AF #AF34A5
tetradic
#A5AF34 #34AF7C #3E34AF #AF3468
square
#A5AF34 #34AF7C #3E34AF #AF3468
split-complementary
#A5AF34 #3468AF #7C34AF
monochromatic
#4C5118 #798026 #A5AF34 #C2CC54 #D3DA83
Accessibility & contrast
On white
2.39
#A5AF34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#A5AF34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AF34
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AF34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AF34 | 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)
#BCA61F
Deuteranopia (green-blind)
#BBA93D
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a5af34; /* rgb */ color: rgb(165, 175, 52); /* oklch */ color: oklch(72.3% 0.143 114.0);
Tailwind
colors: {
custom: {
50: '#c3c673',
500: '#a5af34',
950: '#000000',
},
}SCSS
$custom: #a5af34; $custom-light: #c3c673; $custom-dark: #000000;
JSON
{
"hex": "#a5af34",
"rgb": {
"r": 165,
"g": 175,
"b": 52
},
"hsl": {
"h": 64.878,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.72347,
"c": 0.14296,
"h": 114
},
"luminance": 0.38907
}Semantic roles & 50–950 ramp
primary
#A5AF34
secondary
#817BC4
accent
#4ADE56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B