#2A811F#2A811F
#2A811F is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.1% C 0.156 H 141.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A811F |
|---|---|
| RGB | rgb(42, 129, 31) |
| HSL | hsl(113, 61%, 31%) |
| HSV | hsv(113, 76%, 51%) |
| CMYK | cmyk(67.4%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(47.35, -44.74, 42.95) |
| CIE-LCH | lch(47.35, 62.02, 136.17°) |
| OKLab | oklab(53.14% -0.1221 0.097) |
| OKLCH | oklch(53.14% 0.156 141.5) |
| XYZ | xyz(9.0519, 16.2908, 3.9635) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.18
Green
#008000
ΔE00 2.69
Dark Grass Green
#388004
ΔE00 3.27
Forestgreen (CSS)
#228B22
ΔE00 3.55
Darkish Green
#287C37
ΔE00 4.82
Emerald Green
#028F1E
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A811F #761F81
analogous
#5B811F #2A811F #1F8145
triadic
#2A811F #1F2A81 #811F2A
tetradic
#2A811F #1F5B81 #761F81 #81451F
square
#2A811F #1F5B81 #761F81 #81451F
split-complementary
#2A811F #451F81 #811F5B
monochromatic
#0A1E07 #1A5013 #2A811F #3AB22B #57D347
Accessibility & contrast
On white
4.93
#2A811F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#2A811F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A811F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A811F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A811F | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#197D6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2a811f; /* rgb */ color: rgb(42, 129, 31); /* oklch */ color: oklch(53.1% 0.156 141.5);
Tailwind
colors: {
custom: {
50: '#70a662',
500: '#2a811f',
950: '#000000',
},
}SCSS
$custom: #2a811f; $custom-light: #70a662; $custom-dark: #000000;
JSON
{
"hex": "#2a811f",
"rgb": {
"r": 42,
"g": 129,
"b": 31
},
"hsl": {
"h": 113.265,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.53141,
"c": 0.15597,
"h": 141.5
},
"luminance": 0.16292
}Semantic roles & 50–950 ramp
primary
#2A811F
secondary
#A848B4
accent
#43E4D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A