#A5A81F#A5A81F
#A5A81F is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.6% C 0.147 H 111.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A81F |
|---|---|
| RGB | rgb(165, 168, 31) |
| HSL | hsl(61, 69%, 39%) |
| HSV | hsv(61, 82%, 66%) |
| CMYK | cmyk(1.8%, 0%, 81.5%, 34.1%) |
| CIE-LAB | lab(66.60, -16.48, 63.47) |
| CIE-LCH | lch(66.60, 65.57, 104.56°) |
| OKLab | oklab(70.64% -0.0526 0.1373) |
| OKLCH | oklch(70.64% 0.147 111) |
| XYZ | xyz(29.7681, 36.1044, 6.6968) |
| Luminance | 0.3610 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.24
Puke
#A5A502
ΔE00 1.68
Pea Soup Green
#94A617
ΔE00 3.85
Puke Green
#9AAE07
ΔE00 3.94
Mustard Green
#A8B504
ΔE00 4.17
Barf Green
#94AC02
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A81F #221FA8
analogous
#A8671F #A5A81F #61A81F
triadic
#A5A81F #1FA5A8 #A81FA5
tetradic
#A5A81F #1FA867 #221FA8 #A81F61
square
#A5A81F #1FA867 #221FA8 #A81F61
split-complementary
#A5A81F #1F61A8 #671FA8
monochromatic
#40410C #727415 #A5A81F #D4D82C #DFE260
Accessibility & contrast
On white
2.55
#A5A81F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.22
#A5A81F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A81F
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A81F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A81F | 1.00 | 2.55 | 8.22 | 8.22 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B7A42C
Tritanopia (blue-blind)
#B19D8F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a5a81f; /* rgb */ color: rgb(165, 168, 31); /* oklch */ color: oklch(70.6% 0.147 111.0);
Tailwind
colors: {
custom: {
50: '#c4c169',
500: '#a5a81f',
950: '#000000',
},
}SCSS
$custom: #a5a81f; $custom-light: #c4c169; $custom-dark: #000000;
JSON
{
"hex": "#a5a81f",
"rgb": {
"r": 165,
"g": 168,
"b": 31
},
"hsl": {
"h": 61.314,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.70642,
"c": 0.14699,
"h": 111
},
"luminance": 0.36104
}Semantic roles & 50–950 ramp
primary
#A5A81F
secondary
#5F5DC6
accent
#3CEC40
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A