#A7BC2F#A7BC2F
#A7BC2F is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.4% C 0.160 H 117.9°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BC2F |
|---|---|
| RGB | rgb(167, 188, 47) |
| HSL | hsl(69, 60%, 46%) |
| HSV | hsv(69, 75%, 74%) |
| CMYK | cmyk(11.2%, 0%, 75%, 26.3%) |
| CIE-LAB | lab(72.49, -24.97, 64.04) |
| CIE-LCH | lch(72.49, 68.73, 111.30°) |
| OKLab | oklab(75.43% -0.0749 0.1412) |
| OKLCH | oklch(75.43% 0.16 117.9) |
| XYZ | xyz(34.4335, 44.3875, 9.4425) |
| Luminance | 0.4439 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.54
Sick Green
#9DB92C
ΔE00 1.91
Gross Green
#A0BF16
ΔE00 2.21
Bright Olive
#9CBB04
ΔE00 2.49
Snot
#ACBB0D
ΔE00 2.69
Snot Green
#9DC100
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BC2F #442FBC
analogous
#BC8A2F #A7BC2F #60BC2F
triadic
#A7BC2F #2FA7BC #BC2FA7
tetradic
#A7BC2F #2FBC8A #442FBC #BC2F60
square
#A7BC2F #2FBC8A #442FBC #BC2F60
split-complementary
#A7BC2F #2F60BC #8A2FBC
monochromatic
#505A17 #7C8B23 #A7BC2F #C1D454 #D3E085
Accessibility & contrast
On white
2.13
#A7BC2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#A7BC2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BC2F
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BC2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BC2F | 1.00 | 2.13 | 9.88 | 9.88 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B20E
Deuteranopia (green-blind)
#C7B23C
Tritanopia (blue-blind)
#B1B1A1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #a7bc2f; /* rgb */ color: rgb(167, 188, 47); /* oklch */ color: oklch(75.4% 0.160 117.9);
Tailwind
colors: {
custom: {
50: '#c5d072',
500: '#a7bc2f',
950: '#000000',
},
}SCSS
$custom: #a7bc2f; $custom-light: #c5d072; $custom-dark: #000000;
JSON
{
"hex": "#a7bc2f",
"rgb": {
"r": 167,
"g": 188,
"b": 47
},
"hsl": {
"h": 68.936,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.75428,
"c": 0.15987,
"h": 117.9
},
"luminance": 0.44387
}Semantic roles & 50–950 ramp
primary
#A7BC2F
secondary
#887DCA
accent
#45E35C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B