#A7BC28#A7BC28
#A7BC28 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.4% C 0.163 H 117.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BC28 |
|---|---|
| RGB | rgb(167, 188, 40) |
| HSL | hsl(69, 65%, 45%) |
| HSV | hsv(69, 79%, 74%) |
| CMYK | cmyk(11.2%, 0%, 78.7%, 26.3%) |
| CIE-LAB | lab(72.45, -25.27, 66.17) |
| CIE-LCH | lch(72.45, 70.83, 110.90°) |
| OKLab | oklab(75.39% -0.0763 0.1445) |
| OKLCH | oklch(75.39% 0.163 117.8) |
| XYZ | xyz(34.3034, 44.3355, 8.7576) |
| Luminance | 0.4434 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.31
Gross Green
#A0BF16
ΔE00 1.99
Sick Green
#9DB92C
ΔE00 2.14
Snot
#ACBB0D
ΔE00 2.21
Bright Olive
#9CBB04
ΔE00 2.22
Mustard Green
#A8B504
ΔE00 2.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BC28 #3D28BC
analogous
#BC8728 #A7BC28 #5DBC28
triadic
#A7BC28 #28A7BC #BC28A7
tetradic
#A7BC28 #28BC87 #3D28BC #BC285D
square
#A7BC28 #28BC87 #3D28BC #BC285D
split-complementary
#A7BC28 #285DBC #8728BC
monochromatic
#4D5713 #7A8A1D #A7BC28 #C4D849 #D4E37B
Accessibility & contrast
On white
2.13
#A7BC28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#A7BC28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BC28
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BC28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BC28 | 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)
#C7B237
Tritanopia (blue-blind)
#B2B1A1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #a7bc28; /* rgb */ color: rgb(167, 188, 40); /* oklch */ color: oklch(75.4% 0.163 117.8);
Tailwind
colors: {
custom: {
50: '#c5d06f',
500: '#a7bc28',
950: '#000000',
},
}SCSS
$custom: #a7bc28; $custom-light: #c5d06f; $custom-dark: #000000;
JSON
{
"hex": "#a7bc28",
"rgb": {
"r": 167,
"g": 188,
"b": 40
},
"hsl": {
"h": 68.514,
"s": 64.912,
"l": 44.706
},
"oklch": {
"l": 0.75389,
"c": 0.16345,
"h": 117.8
},
"luminance": 0.44335
}Semantic roles & 50–950 ramp
primary
#A7BC28
secondary
#8175CB
accent
#40E858
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B