#A5A82C#A5A82C
#A5A82C is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.140 H 110.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A82C |
|---|---|
| RGB | rgb(165, 168, 44) |
| HSL | hsl(61, 58%, 42%) |
| HSV | hsv(61, 74%, 66%) |
| CMYK | cmyk(1.8%, 0%, 73.8%, 34.1%) |
| CIE-LAB | lab(66.66, -15.97, 59.50) |
| CIE-LCH | lch(66.66, 61.61, 105.02°) |
| OKLab | oklab(70.71% -0.0501 0.1312) |
| OKLCH | oklch(70.71% 0.14 110.9) |
| XYZ | xyz(29.9753, 36.1873, 7.7882) |
| Luminance | 0.3619 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.87
Puke
#A5A502
ΔE00 2.60
Pea Soup Green
#94A617
ΔE00 3.82
Puke Green
#9AAE07
ΔE00 4.20
Mustard Green
#A8B504
ΔE00 4.64
Barf Green
#94AC02
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A82C #2F2CA8
analogous
#A86D2C #A5A82C #67A82C
triadic
#A5A82C #2CA5A8 #A82CA5
tetradic
#A5A82C #2CA86D #2F2CA8 #A82C67
square
#A5A82C #2CA86D #2F2CA8 #A82C67
split-complementary
#A5A82C #2C67A8 #6D2CA8
monochromatic
#464713 #75781F #A5A82C #CBCE43 #D8DB74
Accessibility & contrast
On white
2.55
#A5A82C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#A5A82C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A82C
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A82C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A82C | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A012
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a5a82c; /* rgb */ color: rgb(165, 168, 44); /* oklch */ color: oklch(70.7% 0.140 110.9);
Tailwind
colors: {
custom: {
50: '#c3c16f',
500: '#a5a82c',
950: '#000000',
},
}SCSS
$custom: #a5a82c; $custom-light: #c3c16f; $custom-dark: #000000;
JSON
{
"hex": "#a5a82c",
"rgb": {
"r": 165,
"g": 168,
"b": 44
},
"hsl": {
"h": 61.452,
"s": 58.491,
"l": 41.569
},
"oklch": {
"l": 0.70713,
"c": 0.14042,
"h": 110.9
},
"luminance": 0.36186
}Semantic roles & 50–950 ramp
primary
#A5A82C
secondary
#706EC2
accent
#46E24A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B