#A5AA27#A5AA27
#A5AA27 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.1% C 0.145 H 111.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AA27 |
|---|---|
| RGB | rgb(165, 170, 39) |
| HSL | hsl(62, 63%, 41%) |
| HSV | hsv(62, 77%, 67%) |
| CMYK | cmyk(2.9%, 0%, 77.1%, 33.3%) |
| CIE-LAB | lab(67.20, -17.21, 61.66) |
| CIE-LCH | lch(67.20, 64.01, 105.59°) |
| OKLab | oklab(71.13% -0.054 0.1348) |
| OKLCH | oklch(71.13% 0.145 111.8) |
| XYZ | xyz(30.2590, 36.8960, 7.4467) |
| Luminance | 0.3690 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.04
Puke
#A5A502
ΔE00 2.58
Puke Green
#9AAE07
ΔE00 3.50
Pea Soup Green
#94A617
ΔE00 3.57
Mustard Green
#A8B504
ΔE00 3.81
Barf Green
#94AC02
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AA27 #2C27AA
analogous
#AA6D27 #A5AA27 #63AA27
triadic
#A5AA27 #27A5AA #AA27A5
tetradic
#A5AA27 #27AA6D #2C27AA #AA2763
square
#A5AA27 #27AA6D #2C27AA #AA2763
split-complementary
#A5AA27 #2763AA #6D27AA
monochromatic
#444610 #75781C #A5AA27 #CDD23C #D9DE6E
Accessibility & contrast
On white
2.51
#A5AA27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#A5AA27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AA27
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AA27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AA27 | 1.00 | 2.51 | 8.38 | 8.38 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A202
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#B19F92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5aa27; /* rgb */ color: rgb(165, 170, 39); /* oklch */ color: oklch(71.1% 0.145 111.8);
Tailwind
colors: {
custom: {
50: '#c3c36d',
500: '#a5aa27',
950: '#000000',
},
}SCSS
$custom: #a5aa27; $custom-light: #c3c36d; $custom-dark: #000000;
JSON
{
"hex": "#a5aa27",
"rgb": {
"r": 165,
"g": 170,
"b": 39
},
"hsl": {
"h": 62.29,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.71134,
"c": 0.14524,
"h": 111.8
},
"luminance": 0.36895
}Semantic roles & 50–950 ramp
primary
#A5AA27
secondary
#6C69C4
accent
#42E648
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B