#2A6E1C#2A6E1C
#2A6E1C is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.134 H 140.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6E1C |
|---|---|
| RGB | rgb(42, 110, 28) |
| HSL | hsl(110, 59%, 27%) |
| HSV | hsv(110, 75%, 43%) |
| CMYK | cmyk(61.8%, 0%, 74.5%, 56.9%) |
| CIE-LAB | lab(40.78, -37.78, 37.44) |
| CIE-LCH | lch(40.78, 53.19, 135.26°) |
| OKLab | oklab(47.7% -0.1035 0.0851) |
| OKLCH | oklch(47.7% 0.134 140.6) |
| XYZ | xyz(6.7401, 11.7273, 3.0068) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.43
Tree Green
#2A7E19
ΔE00 5.70
Darkish Green
#287C37
ΔE00 5.90
Green
#008000
ΔE00 7.04
Deep Green
#02590F
ΔE00 7.37
Dark Grass Green
#388004
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6E1C #601C6E
analogous
#536E1C #2A6E1C #1C6E37
triadic
#2A6E1C #1C2A6E #6E1C2A
tetradic
#2A6E1C #1C536E #601C6E #6E371C
square
#2A6E1C #1C536E #601C6E #6E371C
split-complementary
#2A6E1C #371C6E #6E1C53
monochromatic
#091806 #173D10 #2A6E1C #3D9F28 #51CC38
Accessibility & contrast
On white
6.28
#2A6E1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2A6E1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6E1C
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6E1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6E1C | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71640F
Deuteranopia (green-blind)
#695E24
Tritanopia (blue-blind)
#216A5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2a6e1c; /* rgb */ color: rgb(42, 110, 28); /* oklch */ color: oklch(47.7% 0.134 140.6);
Tailwind
colors: {
custom: {
50: '#6c985e',
500: '#2a6e1c',
950: '#000000',
},
}SCSS
$custom: #2a6e1c; $custom-light: #6c985e; $custom-dark: #000000;
JSON
{
"hex": "#2a6e1c",
"rgb": {
"r": 42,
"g": 110,
"b": 28
},
"hsl": {
"h": 109.756,
"s": 59.42,
"l": 27.059
},
"oklch": {
"l": 0.47696,
"c": 0.13398,
"h": 140.6
},
"luminance": 0.11728
}Semantic roles & 50–950 ramp
primary
#2A6E1C
secondary
#9243A3
accent
#45E3C8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79