#A5A22F#A5A22F
#A5A22F is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.132 H 107.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A22F |
|---|---|
| RGB | rgb(165, 162, 47) |
| HSL | hsl(58, 56%, 42%) |
| HSV | hsv(58, 72%, 65%) |
| CMYK | cmyk(0%, 1.8%, 71.5%, 35.3%) |
| CIE-LAB | lab(65.00, -12.71, 56.82) |
| CIE-LCH | lch(65.00, 58.23, 102.61°) |
| OKLab | oklab(69.39% -0.0407 0.1261) |
| OKLCH | oklch(69.39% 0.132 107.9) |
| XYZ | xyz(28.9516, 34.0462, 7.7353) |
| Luminance | 0.3404 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.34
Puke
#A5A502
ΔE00 3.02
Pea Soup
#929901
ΔE00 4.61
Baby Poop Green
#8F9805
ΔE00 5.13
Pea Soup Green
#94A617
ΔE00 5.19
Puke Green
#9AAE07
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A22F #2F32A5
analogous
#A5672F #A5A22F #6DA52F
triadic
#A5A22F #2FA5A2 #A22FA5
tetradic
#A5A22F #2FA567 #2F32A5 #A52F6D
square
#A5A22F #2FA567 #2F32A5 #A52F6D
split-complementary
#A5A22F #2F6DA5 #672FA5
monochromatic
#464414 #757321 #A5A22F #CBC747 #D8D676
Accessibility & contrast
On white
2.69
#A5A22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#A5A22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A22F
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A22F | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B1B
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#B1978C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a22f; /* rgb */ color: rgb(165, 162, 47); /* oklch */ color: oklch(69.4% 0.132 107.9);
Tailwind
colors: {
custom: {
50: '#c3bd6f',
500: '#a5a22f',
950: '#000000',
},
}SCSS
$custom: #a5a22f; $custom-light: #c3bd6f; $custom-dark: #000000;
JSON
{
"hex": "#a5a22f",
"rgb": {
"r": 165,
"g": 162,
"b": 47
},
"hsl": {
"h": 58.475,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.6939,
"c": 0.13247,
"h": 107.9
},
"luminance": 0.34045
}Semantic roles & 50–950 ramp
primary
#A5A22F
secondary
#7072C0
accent
#4DDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B