#A5AF39#A5AF39
#A5AF39 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.140 H 114.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AF39 |
|---|---|
| RGB | rgb(165, 175, 57) |
| HSL | hsl(65, 51%, 45%) |
| HSV | hsv(65, 67%, 69%) |
| CMYK | cmyk(5.7%, 0%, 67.4%, 31.4%) |
| CIE-LAB | lab(68.72, -18.84, 56.67) |
| CIE-LCH | lch(68.72, 59.71, 108.39°) |
| OKLab | oklab(72.39% -0.0569 0.1274) |
| OKLCH | oklch(72.39% 0.14 114.1) |
| XYZ | xyz(31.5864, 38.9553, 9.7253) |
| Luminance | 0.3896 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.54
Booger
#9BB53C
ΔE00 3.74
Pea Soup Green
#94A617
ΔE00 3.95
Mustard Green
#A8B504
ΔE00 4.02
Barf Green
#94AC02
ΔE00 4.19
Vomit
#A2A415
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AF39 #4339AF
analogous
#AF7E39 #A5AF39 #6AAF39
triadic
#A5AF39 #39A5AF #AF39A5
tetradic
#A5AF39 #39AF7E #4339AF #AF396A
square
#A5AF39 #39AF7E #4339AF #AF396A
split-complementary
#A5AF39 #396AAF #7E39AF
monochromatic
#4E531B #79812A #A5AF39 #C0CA5B #D2D98A
Accessibility & contrast
On white
2.39
#A5AF39 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#A5AF39 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AF39
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AF39 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AF39 | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA728
Deuteranopia (green-blind)
#BBA941
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a5af39; /* rgb */ color: rgb(165, 175, 57); /* oklch */ color: oklch(72.4% 0.140 114.1);
Tailwind
colors: {
custom: {
50: '#c3c676',
500: '#a5af39',
950: '#000000',
},
}SCSS
$custom: #a5af39; $custom-light: #c3c676; $custom-dark: #000000;
JSON
{
"hex": "#a5af39",
"rgb": {
"r": 165,
"g": 175,
"b": 57
},
"hsl": {
"h": 65.085,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.72386,
"c": 0.13954,
"h": 114.1
},
"luminance": 0.38955
}Semantic roles & 50–950 ramp
primary
#A5AF39
secondary
#8681C3
accent
#4DDA59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B