#A7B326#A7B326
#A7B326 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.155 H 114.6°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B326 |
|---|---|
| RGB | rgb(167, 179, 38) |
| HSL | hsl(65, 65%, 43%) |
| HSV | hsv(65, 79%, 70%) |
| CMYK | cmyk(6.7%, 0%, 78.8%, 29.8%) |
| CIE-LAB | lab(69.89, -20.92, 64.46) |
| CIE-LCH | lch(69.89, 67.77, 107.98°) |
| OKLab | oklab(73.33% -0.0645 0.1405) |
| OKLCH | oklch(73.33% 0.155 114.6) |
| XYZ | xyz(32.4073, 40.5962, 7.9620) |
| Luminance | 0.4060 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.77
Puke Green
#9AAE07
ΔE00 2.61
Snot
#ACBB0D
ΔE00 2.71
Sick Green
#9DB92C
ΔE00 3.66
Barf Green
#94AC02
ΔE00 3.70
Booger Green
#96B403
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B326 #3226B3
analogous
#B37826 #A7B326 #61B326
triadic
#A7B326 #26A7B3 #B326A7
tetradic
#A7B326 #26B378 #3226B3 #B32661
square
#A7B326 #26B378 #3226B3 #B32661
split-complementary
#A7B326 #2661B3 #7826B3
monochromatic
#494E11 #78811B #A7B326 #CAD640 #D8E172
Accessibility & contrast
On white
2.30
#A7B326 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#A7B326 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B326
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B326 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B326 | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C0AC33
Tritanopia (blue-blind)
#B2A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b326; /* rgb */ color: rgb(167, 179, 38); /* oklch */ color: oklch(73.3% 0.155 114.6);
Tailwind
colors: {
custom: {
50: '#c5c96d',
500: '#a7b326',
950: '#000000',
},
}SCSS
$custom: #a7b326; $custom-light: #c5c96d; $custom-dark: #000000;
JSON
{
"hex": "#a7b326",
"rgb": {
"r": 167,
"g": 179,
"b": 38
},
"hsl": {
"h": 65.106,
"s": 64.977,
"l": 42.549
},
"oklch": {
"l": 0.73329,
"c": 0.15462,
"h": 114.6
},
"luminance": 0.40596
}Semantic roles & 50–950 ramp
primary
#A7B326
secondary
#746DC8
accent
#40E84E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B