#2A6E1E#2A6E1E
#2A6E1E is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.133 H 140.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6E1E |
|---|---|
| RGB | rgb(42, 110, 30) |
| HSL | hsl(111, 57%, 27%) |
| HSV | hsv(111, 73%, 43%) |
| CMYK | cmyk(61.8%, 0%, 72.7%, 56.9%) |
| CIE-LAB | lab(40.80, -37.60, 36.61) |
| CIE-LCH | lch(40.80, 52.48, 135.76°) |
| OKLab | oklab(47.71% -0.1028 0.0836) |
| OKLCH | oklch(47.71% 0.133 140.9) |
| XYZ | xyz(6.7648, 11.7372, 3.1371) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.53
Darkish Green
#287C37
ΔE00 5.73
Tree Green
#2A7E19
ΔE00 5.80
Green
#008000
ΔE00 7.16
Deep Green
#02590F
ΔE00 7.32
Dark Grass Green
#388004
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6E1E #621E6E
analogous
#526E1E #2A6E1E #1E6E3A
triadic
#2A6E1E #1E2A6E #6E1E2A
tetradic
#2A6E1E #1E526E #621E6E #6E3A1E
square
#2A6E1E #1E526E #621E6E #6E3A1E
split-complementary
#2A6E1E #3A1E6E #6E1E52
monochromatic
#091807 #183E11 #2A6E1E #3C9E2B #52CA3C
Accessibility & contrast
On white
6.27
#2A6E1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2A6E1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6E1E
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6E1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6E1E | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716412
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#206A5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2a6e1e; /* rgb */ color: rgb(42, 110, 30); /* oklch */ color: oklch(47.7% 0.133 140.9);
Tailwind
colors: {
custom: {
50: '#6c985f',
500: '#2a6e1e',
950: '#000000',
},
}SCSS
$custom: #2a6e1e; $custom-light: #6c985f; $custom-dark: #000000;
JSON
{
"hex": "#2a6e1e",
"rgb": {
"r": 42,
"g": 110,
"b": 30
},
"hsl": {
"h": 111,
"s": 57.143,
"l": 27.451
},
"oklch": {
"l": 0.47714,
"c": 0.13257,
"h": 140.9
},
"luminance": 0.11738
}Semantic roles & 50–950 ramp
primary
#2A6E1E
secondary
#9446A2
accent
#47E0C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79