#A5AA1F#A5AA1F
#A5AA1F is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.1% C 0.149 H 111.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A5AA1F |
|---|---|
| RGB | rgb(165, 170, 31) |
| HSL | hsl(62, 69%, 39%) |
| HSV | hsv(62, 82%, 67%) |
| CMYK | cmyk(2.9%, 0%, 81.8%, 33.3%) |
| CIE-LAB | lab(67.16, -17.50, 63.95) |
| CIE-LCH | lch(67.16, 66.31, 105.30°) |
| OKLab | oklab(71.09% -0.0554 0.1383) |
| OKLCH | oklch(71.09% 0.149 111.8) |
| XYZ | xyz(30.1402, 36.8485, 6.8208) |
| Luminance | 0.3685 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.83
Puke
#A5A502
ΔE00 2.17
Puke Green
#9AAE07
ΔE00 3.38
Mustard Green
#A8B504
ΔE00 3.53
Pea Soup Green
#94A617
ΔE00 3.64
Barf Green
#94AC02
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5AA1F #241FAA
analogous
#AA691F #A5AA1F #60AA1F
triadic
#A5AA1F #1FA5AA #AA1FA5
tetradic
#A5AA1F #1FAA69 #241FAA #AA1F60
square
#A5AA1F #1FAA69 #241FAA #AA1F60
split-complementary
#A5AA1F #1F60AA #691FAA
monochromatic
#41420C #737616 #A5AA1F #D3D92D #DEE261
Accessibility & contrast
On white
2.51
#A5AA1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#A5AA1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5AA1F
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5AA1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5AA1F | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B8A52D
Tritanopia (blue-blind)
#B19F91
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a5aa1f; /* rgb */ color: rgb(165, 170, 31); /* oklch */ color: oklch(71.1% 0.149 111.8);
Tailwind
colors: {
custom: {
50: '#c4c369',
500: '#a5aa1f',
950: '#000000',
},
}SCSS
$custom: #a5aa1f; $custom-light: #c4c369; $custom-dark: #000000;
JSON
{
"hex": "#a5aa1f",
"rgb": {
"r": 165,
"g": 170,
"b": 31
},
"hsl": {
"h": 62.158,
"s": 69.154,
"l": 39.412
},
"oklch": {
"l": 0.71094,
"c": 0.14899,
"h": 111.8
},
"luminance": 0.36848
}Semantic roles & 50–950 ramp
primary
#A5AA1F
secondary
#625EC7
accent
#3CEC42
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A