#A7A333#A7A333
#A7A333 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.8% C 0.130 H 107.3°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A333 |
|---|---|
| RGB | rgb(167, 163, 51) |
| HSL | hsl(58, 53%, 43%) |
| HSV | hsv(58, 69%, 65%) |
| CMYK | cmyk(0%, 2.4%, 69.5%, 34.5%) |
| CIE-LAB | lab(65.48, -12.15, 55.81) |
| CIE-LCH | lch(65.48, 57.12, 102.28°) |
| OKLab | oklab(69.82% -0.0388 0.1246) |
| OKLCH | oklch(69.82% 0.13 107.3) |
| XYZ | xyz(29.6322, 34.6499, 8.2585) |
| Luminance | 0.3465 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.71
Puke
#A5A502
ΔE00 3.29
Pea Soup
#929901
ΔE00 5.14
Pea Soup Green
#94A617
ΔE00 5.53
Baby Poop Green
#8F9805
ΔE00 5.65
Puke Green
#9AAE07
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A333 #3337A7
analogous
#A76933 #A7A333 #71A733
triadic
#A7A333 #33A7A3 #A333A7
tetradic
#A7A333 #33A769 #3337A7 #A73371
square
#A7A333 #33A769 #3337A7 #A73371
split-complementary
#A7A333 #3371A7 #6933A7
monochromatic
#494716 #787525 #A7A333 #C9C54E #D7D47D
Accessibility & contrast
On white
2.65
#A7A333 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.93
#A7A333 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A333
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A333 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A333 | 1.00 | 2.65 | 7.93 | 7.93 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D22
Deuteranopia (green-blind)
#B3A13B
Tritanopia (blue-blind)
#B3988D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a7a333; /* rgb */ color: rgb(167, 163, 51); /* oklch */ color: oklch(69.8% 0.130 107.3);
Tailwind
colors: {
custom: {
50: '#c4be72',
500: '#a7a333',
950: '#000000',
},
}SCSS
$custom: #a7a333; $custom-light: #c4be72; $custom-dark: #000000;
JSON
{
"hex": "#a7a333",
"rgb": {
"r": 167,
"g": 163,
"b": 51
},
"hsl": {
"h": 57.931,
"s": 53.211,
"l": 42.745
},
"oklch": {
"l": 0.6982,
"c": 0.13048,
"h": 107.3
},
"luminance": 0.34649
}Semantic roles & 50–950 ramp
primary
#A7A333
secondary
#7678C0
accent
#50DD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B