#2D6E1F#2D6E1F
#2D6E1F is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.130 H 140.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2D6E1F |
|---|---|
| RGB | rgb(45, 110, 31) |
| HSL | hsl(109, 56%, 28%) |
| HSV | hsv(109, 72%, 43%) |
| CMYK | cmyk(59.1%, 0%, 71.8%, 56.9%) |
| CIE-LAB | lab(40.91, -36.67, 36.33) |
| CIE-LCH | lch(40.91, 51.62, 135.27°) |
| OKLab | oklab(47.84% -0.1005 0.0832) |
| OKLCH | oklch(47.84% 0.13 140.4) |
| XYZ | xyz(6.9051, 11.8081, 3.2114) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.76
Darkish Green
#287C37
ΔE00 5.75
Tree Green
#2A7E19
ΔE00 5.83
Green
#008000
ΔE00 7.29
Deep Green
#02590F
ΔE00 7.46
Dark Grass Green
#388004
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D6E1F #601F6E
analogous
#546E1F #2D6E1F #1F6E38
triadic
#2D6E1F #1F2D6E #6E1F2D
tetradic
#2D6E1F #1F546E #601F6E #6E381F
square
#2D6E1F #1F546E #601F6E #6E381F
split-complementary
#2D6E1F #381F6E #6E1F54
monochromatic
#0A1807 #193E12 #2D6E1F #419E2C #57C93F
Accessibility & contrast
On white
6.25
#2D6E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#2D6E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D6E1F
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D6E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D6E1F | 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)
#716414
Deuteranopia (green-blind)
#695E26
Tritanopia (blue-blind)
#256A5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2d6e1f; /* rgb */ color: rgb(45, 110, 31); /* oklch */ color: oklch(47.8% 0.130 140.4);
Tailwind
colors: {
custom: {
50: '#6e985f',
500: '#2d6e1f',
950: '#000000',
},
}SCSS
$custom: #2d6e1f; $custom-light: #6e985f; $custom-dark: #000000;
JSON
{
"hex": "#2d6e1f",
"rgb": {
"r": 45,
"g": 110,
"b": 31
},
"hsl": {
"h": 109.367,
"s": 56.028,
"l": 27.647
},
"oklch": {
"l": 0.47841,
"c": 0.13042,
"h": 140.4
},
"luminance": 0.11809
}Semantic roles & 50–950 ramp
primary
#2D6E1F
secondary
#9247A2
accent
#48DFC5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79