#A4A731#A4A731
#A4A731 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.137 H 110.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A731 |
|---|---|
| RGB | rgb(164, 167, 49) |
| HSL | hsl(62, 55%, 42%) |
| HSV | hsv(62, 71%, 65%) |
| CMYK | cmyk(1.8%, 0%, 70.7%, 34.5%) |
| CIE-LAB | lab(66.33, -15.64, 57.34) |
| CIE-LCH | lch(66.33, 59.44, 105.26°) |
| OKLab | oklab(70.44% -0.0487 0.1275) |
| OKLCH | oklch(70.44% 0.137 110.9) |
| XYZ | xyz(29.6839, 35.7525, 8.2424) |
| Luminance | 0.3575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.23
Puke
#A5A502
ΔE00 3.08
Pea Soup Green
#94A617
ΔE00 3.84
Puke Green
#9AAE07
ΔE00 4.52
Barf Green
#94AC02
ΔE00 5.05
Pea Soup
#929901
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A731 #3431A7
analogous
#A76F31 #A4A731 #69A731
triadic
#A4A731 #31A4A7 #A731A4
tetradic
#A4A731 #31A76F #3431A7 #A73169
square
#A4A731 #31A76F #3431A7 #A73169
split-complementary
#A4A731 #3169A7 #6F31A7
monochromatic
#474815 #767823 #A4A731 #C7CA4B #D6D87A
Accessibility & contrast
On white
2.58
#A4A731 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#A4A731 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A731
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A731 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A731 | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A01D
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#AF9D90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a4a731; /* rgb */ color: rgb(164, 167, 49); /* oklch */ color: oklch(70.4% 0.137 110.9);
Tailwind
colors: {
custom: {
50: '#c2c071',
500: '#a4a731',
950: '#000000',
},
}SCSS
$custom: #a4a731; $custom-light: #c2c071; $custom-dark: #000000;
JSON
{
"hex": "#a4a731",
"rgb": {
"r": 164,
"g": 167,
"b": 49
},
"hsl": {
"h": 61.525,
"s": 54.63,
"l": 42.353
},
"oklch": {
"l": 0.70437,
"c": 0.13651,
"h": 110.9
},
"luminance": 0.35752
}Semantic roles & 50–950 ramp
primary
#A4A731
secondary
#7573C1
accent
#4ADE4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B