#2D6E1C#2D6E1C
#2D6E1C is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.133 H 139.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2D6E1C |
|---|---|
| RGB | rgb(45, 110, 28) |
| HSL | hsl(108, 59%, 27%) |
| HSV | hsv(108, 75%, 43%) |
| CMYK | cmyk(59.1%, 0%, 74.5%, 56.9%) |
| CIE-LAB | lab(40.89, -36.94, 37.59) |
| CIE-LCH | lch(40.89, 52.70, 134.51°) |
| OKLab | oklab(47.81% -0.1014 0.0854) |
| OKLCH | oklch(47.81% 0.133 139.9) |
| XYZ | xyz(6.8674, 11.7930, 3.0128) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.62
Tree Green
#2A7E19
ΔE00 5.69
Darkish Green
#287C37
ΔE00 6.01
Green
#008000
ΔE00 7.10
Dark Grass Green
#388004
ΔE00 7.35
Deep Green
#02590F
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D6E1C #5D1C6E
analogous
#566E1C #2D6E1C #1C6E34
triadic
#2D6E1C #1C2D6E #6E1C2D
tetradic
#2D6E1C #1C566E #5D1C6E #6E341C
square
#2D6E1C #1C566E #5D1C6E #6E341C
split-complementary
#2D6E1C #341C6E #6E1C56
monochromatic
#0A1806 #193D10 #2D6E1C #419F28 #57CC38
Accessibility & contrast
On white
6.25
#2D6E1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#2D6E1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D6E1C
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D6E1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D6E1C | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71640F
Deuteranopia (green-blind)
#695E24
Tritanopia (blue-blind)
#256A5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2d6e1c; /* rgb */ color: rgb(45, 110, 28); /* oklch */ color: oklch(47.8% 0.133 139.9);
Tailwind
colors: {
custom: {
50: '#6e985e',
500: '#2d6e1c',
950: '#000000',
},
}SCSS
$custom: #2d6e1c; $custom-light: #6e985e; $custom-dark: #000000;
JSON
{
"hex": "#2d6e1c",
"rgb": {
"r": 45,
"g": 110,
"b": 28
},
"hsl": {
"h": 107.561,
"s": 59.42,
"l": 27.059
},
"oklch": {
"l": 0.47813,
"c": 0.13256,
"h": 139.9
},
"luminance": 0.11794
}Semantic roles & 50–950 ramp
primary
#2D6E1C
secondary
#8F43A3
accent
#45E3C2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79