#A5A12E#A5A12E
#A5A12E is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.2% C 0.132 H 107.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A12E |
|---|---|
| RGB | rgb(165, 161, 46) |
| HSL | hsl(58, 56%, 41%) |
| HSV | hsv(58, 72%, 65%) |
| CMYK | cmyk(0%, 2.4%, 72.1%, 35.3%) |
| CIE-LAB | lab(64.71, -12.24, 56.92) |
| CIE-LCH | lch(64.71, 58.22, 102.14°) |
| OKLab | oklab(69.16% -0.0395 0.1261) |
| OKLCH | oklch(69.16% 0.132 107.4) |
| XYZ | xyz(28.7562, 33.6873, 7.5718) |
| Luminance | 0.3369 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.50
Puke
#A5A502
ΔE00 3.10
Pea Soup
#929901
ΔE00 4.57
Baby Poop Green
#8F9805
ΔE00 5.10
Pea Soup Green
#94A617
ΔE00 5.45
Baby Shit Green
#889717
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A12E #2E32A5
analogous
#A5662E #A5A12E #6EA52E
triadic
#A5A12E #2EA5A1 #A12EA5
tetradic
#A5A12E #2EA566 #2E32A5 #A52E6E
square
#A5A12E #2EA566 #2E32A5 #A52E6E
split-complementary
#A5A12E #2E6EA5 #662EA5
monochromatic
#454413 #757221 #A5A12E #CBC745 #D8D575
Accessibility & contrast
On white
2.71
#A5A12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#A5A12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A12E
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A12E | 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)
#AF9B1A
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#B1968B
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a5a12e; /* rgb */ color: rgb(165, 161, 46); /* oklch */ color: oklch(69.2% 0.132 107.4);
Tailwind
colors: {
custom: {
50: '#c3bc6f',
500: '#a5a12e',
950: '#000000',
},
}SCSS
$custom: #a5a12e; $custom-light: #c3bc6f; $custom-dark: #000000;
JSON
{
"hex": "#a5a12e",
"rgb": {
"r": 165,
"g": 161,
"b": 46
},
"hsl": {
"h": 57.983,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.6916,
"c": 0.13211,
"h": 107.4
},
"luminance": 0.33686
}Semantic roles & 50–950 ramp
primary
#A5A12E
secondary
#6F71C0
accent
#4DE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B