#2A6E1A#2A6E1A
#2A6E1A is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.135 H 140.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6E1A |
|---|---|
| RGB | rgb(42, 110, 26) |
| HSL | hsl(109, 62%, 27%) |
| HSV | hsv(109, 76%, 43%) |
| CMYK | cmyk(61.8%, 0%, 76.4%, 56.9%) |
| CIE-LAB | lab(40.76, -37.96, 38.25) |
| CIE-LCH | lch(40.76, 53.88, 134.78°) |
| OKLab | oklab(47.68% -0.1041 0.0865) |
| OKLCH | oklch(47.68% 0.135 140.3) |
| XYZ | xyz(6.7169, 11.7181, 2.8849) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.36
Tree Green
#2A7E19
ΔE00 5.63
Darkish Green
#287C37
ΔE00 6.08
Green
#008000
ΔE00 6.92
Dark Grass Green
#388004
ΔE00 7.32
Deep Green
#02590F
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6E1A #5E1A6E
analogous
#546E1A #2A6E1A #1A6E34
triadic
#2A6E1A #1A2A6E #6E1A2A
tetradic
#2A6E1A #1A546E #5E1A6E #6E341A
square
#2A6E1A #1A546E #5E1A6E #6E341A
split-complementary
#2A6E1A #341A6E #6E1A54
monochromatic
#091906 #173D0E #2A6E1A #3DA026 #51CF34
Accessibility & contrast
On white
6.28
#2A6E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2A6E1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6E1A
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6E1A | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71640B
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#216A5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2a6e1a; /* rgb */ color: rgb(42, 110, 26); /* oklch */ color: oklch(47.7% 0.135 140.3);
Tailwind
colors: {
custom: {
50: '#6c985c',
500: '#2a6e1a',
950: '#000000',
},
}SCSS
$custom: #2a6e1a; $custom-light: #6c985c; $custom-dark: #000000;
JSON
{
"hex": "#2a6e1a",
"rgb": {
"r": 42,
"g": 110,
"b": 26
},
"hsl": {
"h": 108.571,
"s": 61.765,
"l": 26.667
},
"oklch": {
"l": 0.47679,
"c": 0.13532,
"h": 140.3
},
"luminance": 0.11719
}Semantic roles & 50–950 ramp
primary
#2A6E1A
secondary
#9041A3
accent
#43E5C6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79