#A7BC2A#A7BC2A
#A7BC2A is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.4% C 0.162 H 117.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BC2A |
|---|---|
| RGB | rgb(167, 188, 42) |
| HSL | hsl(69, 63%, 45%) |
| HSV | hsv(69, 78%, 74%) |
| CMYK | cmyk(11.2%, 0%, 77.7%, 26.3%) |
| CIE-LAB | lab(72.46, -25.19, 65.59) |
| CIE-LCH | lch(72.46, 70.26, 111.01°) |
| OKLab | oklab(75.4% -0.0759 0.1437) |
| OKLCH | oklch(75.4% 0.162 117.9) |
| XYZ | xyz(34.3383, 44.3495, 8.9414) |
| Luminance | 0.4435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.35
Gross Green
#A0BF16
ΔE00 2.04
Sick Green
#9DB92C
ΔE00 2.07
Bright Olive
#9CBB04
ΔE00 2.28
Snot
#ACBB0D
ΔE00 2.33
Snot Green
#9DC100
ΔE00 3.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BC2A #3F2ABC
analogous
#BC882A #A7BC2A #5EBC2A
triadic
#A7BC2A #2AA7BC #BC2AA7
tetradic
#A7BC2A #2ABC88 #3F2ABC #BC2A5E
square
#A7BC2A #2ABC88 #3F2ABC #BC2A5E
split-complementary
#A7BC2A #2A5EBC #882ABC
monochromatic
#4E5814 #7B8A1F #A7BC2A #C3D74C #D4E27E
Accessibility & contrast
On white
2.13
#A7BC2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#A7BC2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BC2A
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BC2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BC2A | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C7B238
Tritanopia (blue-blind)
#B2B1A1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #a7bc2a; /* rgb */ color: rgb(167, 188, 42); /* oklch */ color: oklch(75.4% 0.162 117.9);
Tailwind
colors: {
custom: {
50: '#c5d070',
500: '#a7bc2a',
950: '#000000',
},
}SCSS
$custom: #a7bc2a; $custom-light: #c5d070; $custom-dark: #000000;
JSON
{
"hex": "#a7bc2a",
"rgb": {
"r": 167,
"g": 188,
"b": 42
},
"hsl": {
"h": 68.63,
"s": 63.478,
"l": 45.098
},
"oklch": {
"l": 0.754,
"c": 0.16248,
"h": 117.9
},
"luminance": 0.44349
}Semantic roles & 50–950 ramp
primary
#A7BC2A
secondary
#8377CB
accent
#41E759
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B