#A5AF24#A5AF24
#A5AF24 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.2% C 0.152 H 113.9°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AF24 |
|---|---|
| RGB | rgb(165, 175, 36) |
| HSL | hsl(64, 66%, 41%) |
| HSV | hsv(64, 79%, 69%) |
| CMYK | cmyk(5.7%, 0%, 79.4%, 31.4%) |
| CIE-LAB | lab(68.60, -19.85, 63.82) |
| CIE-LCH | lch(68.60, 66.84, 107.28°) |
| OKLab | oklab(72.25% -0.0616 0.1389) |
| OKLCH | oklch(72.25% 0.152 113.9) |
| XYZ | xyz(31.1664, 38.7873, 7.5136) |
| Luminance | 0.3879 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.37
Puke Green
#9AAE07
ΔE00 2.41
Barf Green
#94AC02
ΔE00 3.43
Vomit
#A2A415
ΔE00 3.48
Pea Soup Green
#94A617
ΔE00 3.62
Snot
#ACBB0D
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AF24 #2E24AF
analogous
#AF7424 #A5AF24 #5FAF24
triadic
#A5AF24 #24A5AF #AF24A5
tetradic
#A5AF24 #24AF74 #2E24AF #AF245F
square
#A5AF24 #24AF74 #2E24AF #AF245F
split-complementary
#A5AF24 #245FAF #7424AF
monochromatic
#45490F #757C1A #A5AF24 #CBD63A #D8E16D
Accessibility & contrast
On white
2.40
#A5AF24 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#A5AF24 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AF24
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AF24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AF24 | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BCA931
Tritanopia (blue-blind)
#B0A496
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #a5af24; /* rgb */ color: rgb(165, 175, 36); /* oklch */ color: oklch(72.2% 0.152 113.9);
Tailwind
colors: {
custom: {
50: '#c3c66c',
500: '#a5af24',
950: '#000000',
},
}SCSS
$custom: #a5af24; $custom-light: #c3c66c; $custom-dark: #000000;
JSON
{
"hex": "#a5af24",
"rgb": {
"r": 165,
"g": 175,
"b": 36
},
"hsl": {
"h": 64.317,
"s": 65.877,
"l": 41.373
},
"oklch": {
"l": 0.72249,
"c": 0.15194,
"h": 113.9
},
"luminance": 0.38787
}Semantic roles & 50–950 ramp
primary
#A5AF24
secondary
#6F68C7
accent
#3FE94B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A