#A5A826#A5A826
#A5A826 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 70.7% C 0.144 H 110.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A826 |
|---|---|
| RGB | rgb(165, 168, 38) |
| HSL | hsl(61, 63%, 40%) |
| HSV | hsv(61, 77%, 66%) |
| CMYK | cmyk(1.8%, 0%, 77.4%, 34.1%) |
| CIE-LAB | lab(66.63, -16.23, 61.45) |
| CIE-LCH | lch(66.63, 63.56, 104.79°) |
| OKLab | oklab(70.68% -0.0514 0.1342) |
| OKLCH | oklch(70.68% 0.144 110.9) |
| XYZ | xyz(29.8706, 36.1454, 7.2366) |
| Luminance | 0.3614 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.50
Puke
#A5A502
ΔE00 2.12
Pea Soup Green
#94A617
ΔE00 3.80
Puke Green
#9AAE07
ΔE00 4.03
Mustard Green
#A8B504
ΔE00 4.38
Barf Green
#94AC02
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A826 #2926A8
analogous
#A86A26 #A5A826 #64A826
triadic
#A5A826 #26A5A8 #A826A5
tetradic
#A5A826 #26A86A #2926A8 #A82664
square
#A5A826 #26A86A #2926A8 #A82664
split-complementary
#A5A826 #2664A8 #6A26A8
monochromatic
#43440F #74761B #A5A826 #CFD239 #DBDE6B
Accessibility & contrast
On white
2.55
#A5A826 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#A5A826 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A826
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A826 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A826 | 1.00 | 2.55 | 8.23 | 8.23 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B7A431
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a5a826; /* rgb */ color: rgb(165, 168, 38); /* oklch */ color: oklch(70.7% 0.144 110.9);
Tailwind
colors: {
custom: {
50: '#c3c16c',
500: '#a5a826',
950: '#000000',
},
}SCSS
$custom: #a5a826; $custom-light: #c3c16c; $custom-dark: #000000;
JSON
{
"hex": "#a5a826",
"rgb": {
"r": 165,
"g": 168,
"b": 38
},
"hsl": {
"h": 61.385,
"s": 63.107,
"l": 40.392
},
"oklch": {
"l": 0.70677,
"c": 0.14371,
"h": 110.9
},
"luminance": 0.36145
}Semantic roles & 50–950 ramp
primary
#A5A826
secondary
#6866C4
accent
#42E645
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A