#A5A827#A5A827
#A5A827 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.143 H 110.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A827 |
|---|---|
| RGB | rgb(165, 168, 39) |
| HSL | hsl(61, 62%, 41%) |
| HSV | hsv(61, 77%, 66%) |
| CMYK | cmyk(1.8%, 0%, 76.8%, 34.1%) |
| CIE-LAB | lab(66.64, -16.18, 61.14) |
| CIE-LCH | lch(66.64, 63.25, 104.83°) |
| OKLab | oklab(70.68% -0.0512 0.1337) |
| OKLCH | oklch(70.68% 0.143 110.9) |
| XYZ | xyz(29.8869, 36.1519, 7.3227) |
| Luminance | 0.3615 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.55
Puke
#A5A502
ΔE00 2.20
Pea Soup Green
#94A617
ΔE00 3.80
Puke Green
#9AAE07
ΔE00 4.05
Mustard Green
#A8B504
ΔE00 4.41
Barf Green
#94AC02
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A827 #2A27A8
analogous
#A86A27 #A5A827 #65A827
triadic
#A5A827 #27A5A8 #A827A5
tetradic
#A5A827 #27A86A #2A27A8 #A82765
square
#A5A827 #27A86A #2A27A8 #A82765
split-complementary
#A5A827 #2765A8 #6A27A8
monochromatic
#434510 #74761B #A5A827 #CED13B #DADD6C
Accessibility & contrast
On white
2.55
#A5A827 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.23
#A5A827 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A827
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A827 | 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)
#B6A003
Deuteranopia (green-blind)
#B6A432
Tritanopia (blue-blind)
#B19D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a5a827; /* rgb */ color: rgb(165, 168, 39); /* oklch */ color: oklch(70.7% 0.143 110.9);
Tailwind
colors: {
custom: {
50: '#c3c16c',
500: '#a5a827',
950: '#000000',
},
}SCSS
$custom: #a5a827; $custom-light: #c3c16c; $custom-dark: #000000;
JSON
{
"hex": "#a5a827",
"rgb": {
"r": 165,
"g": 168,
"b": 39
},
"hsl": {
"h": 61.395,
"s": 62.319,
"l": 40.588
},
"oklch": {
"l": 0.70683,
"c": 0.14319,
"h": 110.9
},
"luminance": 0.36151
}Semantic roles & 50–950 ramp
primary
#A5A827
secondary
#6967C3
accent
#42E546
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A