#A7B726#A7B726
#A7B726 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.2% C 0.159 H 116.1°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B726 |
|---|---|
| RGB | rgb(167, 183, 38) |
| HSL | hsl(67, 66%, 43%) |
| HSV | hsv(67, 79%, 72%) |
| CMYK | cmyk(8.7%, 0%, 79.2%, 28.2%) |
| CIE-LAB | lab(71.02, -22.90, 65.47) |
| CIE-LCH | lch(71.02, 69.36, 109.28°) |
| OKLab | oklab(74.24% -0.0699 0.1427) |
| OKLCH | oklch(74.24% 0.159 116.1) |
| XYZ | xyz(33.2206, 42.2229, 8.2331) |
| Luminance | 0.4222 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.86
Snot
#ACBB0D
ΔE00 2.02
Pea
#A4BF20
ΔE00 2.74
Sick Green
#9DB92C
ΔE00 2.75
Puke Green
#9AAE07
ΔE00 2.97
Bright Olive
#9CBB04
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B726 #3626B7
analogous
#B77E26 #A7B726 #5EB726
triadic
#A7B726 #26A7B7 #B726A7
tetradic
#A7B726 #26B77E #3626B7 #B7265E
square
#A7B726 #26B77E #3626B7 #B7265E
split-complementary
#A7B726 #265EB7 #7E26B7
monochromatic
#4B5211 #79841B #A7B726 #C7D842 #D6E275
Accessibility & contrast
On white
2.22
#A7B726 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#A7B726 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B726
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B726 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B726 | 1.00 | 2.22 | 9.44 | 9.44 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF34
Tritanopia (blue-blind)
#B2AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a7b726; /* rgb */ color: rgb(167, 183, 38); /* oklch */ color: oklch(74.2% 0.159 116.1);
Tailwind
colors: {
custom: {
50: '#c5cc6e',
500: '#a7b726',
950: '#000000',
},
}SCSS
$custom: #a7b726; $custom-light: #c5cc6e; $custom-dark: #000000;
JSON
{
"hex": "#a7b726",
"rgb": {
"r": 167,
"g": 183,
"b": 38
},
"hsl": {
"h": 66.621,
"s": 65.611,
"l": 43.333
},
"oklch": {
"l": 0.74238,
"c": 0.15892,
"h": 116.1
},
"luminance": 0.42222
}Semantic roles & 50–950 ramp
primary
#A7B726
secondary
#796FCA
accent
#3FE952
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B