#2A711C#2A711C
#2A711C is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.138 H 140.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A711C |
|---|---|
| RGB | rgb(42, 113, 28) |
| HSL | hsl(110, 60%, 28%) |
| HSV | hsv(110, 75%, 44%) |
| CMYK | cmyk(62.8%, 0%, 75.2%, 55.7%) |
| CIE-LAB | lab(41.82, -38.96, 38.52) |
| CIE-LCH | lch(41.82, 54.79, 135.33°) |
| OKLab | oklab(48.56% -0.1067 0.0874) |
| OKLCH | oklch(48.56% 0.138 140.7) |
| XYZ | xyz(7.0692, 12.3857, 3.1165) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.66
Darkgreen
#006400
ΔE00 5.12
Darkish Green
#287C37
ΔE00 5.28
Green
#008000
ΔE00 6.05
Dark Grass Green
#388004
ΔE00 6.53
Deep Green
#02590F
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A711C #631C71
analogous
#54711C #2A711C #1C7139
triadic
#2A711C #1C2A71 #711C2A
tetradic
#2A711C #1C5471 #631C71 #71391C
square
#2A711C #1C5471 #631C71 #71391C
split-complementary
#2A711C #391C71 #711C54
monochromatic
#091906 #184010 #2A711C #3CA228 #52CE39
Accessibility & contrast
On white
6.04
#2A711C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#2A711C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A711C
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A711C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A711C | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74660D
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#206D60
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2a711c; /* rgb */ color: rgb(42, 113, 28); /* oklch */ color: oklch(48.6% 0.138 140.7);
Tailwind
colors: {
custom: {
50: '#6d9a5e',
500: '#2a711c',
950: '#000000',
},
}SCSS
$custom: #2a711c; $custom-light: #6d9a5e; $custom-dark: #000000;
JSON
{
"hex": "#2a711c",
"rgb": {
"r": 42,
"g": 113,
"b": 28
},
"hsl": {
"h": 110.118,
"s": 60.284,
"l": 27.647
},
"oklch": {
"l": 0.48558,
"c": 0.13787,
"h": 140.7
},
"luminance": 0.12386
}Semantic roles & 50–950 ramp
primary
#2A711C
secondary
#9543A6
accent
#44E3C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79