#A7B322#A7B322
#A7B322 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.156 H 114.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B322 |
|---|---|
| RGB | rgb(167, 179, 34) |
| HSL | hsl(65, 68%, 42%) |
| HSV | hsv(65, 81%, 70%) |
| CMYK | cmyk(6.7%, 0%, 81%, 29.8%) |
| CIE-LAB | lab(69.87, -21.06, 65.57) |
| CIE-LCH | lch(69.87, 68.87, 107.81°) |
| OKLab | oklab(73.31% -0.0652 0.1422) |
| OKLCH | oklch(73.31% 0.156 114.6) |
| XYZ | xyz(32.3462, 40.5718, 7.6403) |
| Luminance | 0.4057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.49
Snot
#ACBB0D
ΔE00 2.54
Puke Green
#9AAE07
ΔE00 2.55
Barf Green
#94AC02
ΔE00 3.68
Booger Green
#96B403
ΔE00 3.71
Sick Green
#9DB92C
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B322 #2E22B3
analogous
#B37722 #A7B322 #5EB322
triadic
#A7B322 #22A7B3 #B322A7
tetradic
#A7B322 #22B377 #2E22B3 #B3225E
square
#A7B322 #22B377 #2E22B3 #B3225E
split-complementary
#A7B322 #225EB3 #7722B3
monochromatic
#474C0E #778018 #A7B322 #CCD939 #D9E36C
Accessibility & contrast
On white
2.30
#A7B322 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#A7B322 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B322
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B322 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B322 | 1.00 | 2.30 | 9.11 | 9.11 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C0AC31
Tritanopia (blue-blind)
#B2A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b322; /* rgb */ color: rgb(167, 179, 34); /* oklch */ color: oklch(73.3% 0.156 114.6);
Tailwind
colors: {
custom: {
50: '#c5c96c',
500: '#a7b322',
950: '#000000',
},
}SCSS
$custom: #a7b322; $custom-light: #c5c96c; $custom-dark: #000000;
JSON
{
"hex": "#a7b322",
"rgb": {
"r": 167,
"g": 179,
"b": 34
},
"hsl": {
"h": 64.966,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.7331,
"c": 0.15644,
"h": 114.6
},
"luminance": 0.40571
}Semantic roles & 50–950 ramp
primary
#A7B322
secondary
#7068C9
accent
#3DEB4B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A