#A7B72C#A7B72C
#A7B72C is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.3% C 0.156 H 116.2°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B72C |
|---|---|
| RGB | rgb(167, 183, 44) |
| HSL | hsl(67, 61%, 45%) |
| HSV | hsv(67, 76%, 72%) |
| CMYK | cmyk(8.7%, 0%, 76%, 28.2%) |
| CIE-LAB | lab(71.05, -22.66, 63.67) |
| CIE-LCH | lch(71.05, 67.58, 109.59°) |
| OKLab | oklab(74.27% -0.0688 0.1399) |
| OKLCH | oklch(74.27% 0.156 116.2) |
| XYZ | xyz(33.3253, 42.2648, 8.7848) |
| Luminance | 0.4226 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.30
Snot
#ACBB0D
ΔE00 2.43
Sick Green
#9DB92C
ΔE00 2.57
Pea
#A4BF20
ΔE00 2.81
Puke Green
#9AAE07
ΔE00 3.11
Bright Olive
#9CBB04
ΔE00 3.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B72C #3C2CB7
analogous
#B7812C #A7B72C #62B72C
triadic
#A7B72C #2CA7B7 #B72CA7
tetradic
#A7B72C #2CB781 #3C2CB7 #B72C62
square
#A7B72C #2CB781 #3C2CB7 #B72C62
split-complementary
#A7B72C #2C62B7 #812CB7
monochromatic
#4D5414 #7A8620 #A7B72C #C4D44C #D5E07E
Accessibility & contrast
On white
2.22
#A7B72C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.45
#A7B72C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B72C
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B72C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B72C | 1.00 | 2.22 | 9.45 | 9.45 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD07
Deuteranopia (green-blind)
#C3AF38
Tritanopia (blue-blind)
#B2AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a7b72c; /* rgb */ color: rgb(167, 183, 44); /* oklch */ color: oklch(74.3% 0.156 116.2);
Tailwind
colors: {
custom: {
50: '#c5cc70',
500: '#a7b72c',
950: '#000000',
},
}SCSS
$custom: #a7b72c; $custom-light: #c5cc70; $custom-dark: #000000;
JSON
{
"hex": "#a7b72c",
"rgb": {
"r": 167,
"g": 183,
"b": 44
},
"hsl": {
"h": 66.906,
"s": 61.233,
"l": 44.51
},
"oklch": {
"l": 0.74271,
"c": 0.15592,
"h": 116.2
},
"luminance": 0.42264
}Semantic roles & 50–950 ramp
primary
#A7B72C
secondary
#8076C8
accent
#43E456
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B