#A5A12F#A5A12F
#A5A12F is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.131 H 107.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A12F |
|---|---|
| RGB | rgb(165, 161, 47) |
| HSL | hsl(58, 56%, 42%) |
| HSV | hsv(58, 72%, 65%) |
| CMYK | cmyk(0%, 2.4%, 71.5%, 35.3%) |
| CIE-LAB | lab(64.72, -12.19, 56.55) |
| CIE-LCH | lch(64.72, 57.85, 102.17°) |
| OKLab | oklab(69.17% -0.0393 0.1255) |
| OKLCH | oklch(69.17% 0.131 107.4) |
| XYZ | xyz(28.7761, 33.6953, 7.6768) |
| Luminance | 0.3369 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.58
Puke
#A5A502
ΔE00 3.20
Pea Soup
#929901
ΔE00 4.61
Baby Poop Green
#8F9805
ΔE00 5.13
Pea Soup Green
#94A617
ΔE00 5.47
Baby Shit Green
#889717
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A12F #2F33A5
analogous
#A5662F #A5A12F #6EA52F
triadic
#A5A12F #2FA5A1 #A12FA5
tetradic
#A5A12F #2FA566 #2F33A5 #A52F6E
square
#A5A12F #2FA566 #2F33A5 #A52F6E
split-complementary
#A5A12F #2F6EA5 #662FA5
monochromatic
#464414 #757321 #A5A12F #CBC647 #D8D576
Accessibility & contrast
On white
2.71
#A5A12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#A5A12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A12F
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A12F | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9B1C
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#B1968B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a5a12f; /* rgb */ color: rgb(165, 161, 47); /* oklch */ color: oklch(69.2% 0.131 107.4);
Tailwind
colors: {
custom: {
50: '#c3bc6f',
500: '#a5a12f',
950: '#000000',
},
}SCSS
$custom: #a5a12f; $custom-light: #c3bc6f; $custom-dark: #000000;
JSON
{
"hex": "#a5a12f",
"rgb": {
"r": 165,
"g": 161,
"b": 47
},
"hsl": {
"h": 57.966,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.69167,
"c": 0.13147,
"h": 107.4
},
"luminance": 0.33694
}Semantic roles & 50–950 ramp
primary
#A5A12F
secondary
#7072C0
accent
#4EDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B