#2F6C1E#2F6C1E
#2F6C1E is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.3% C 0.127 H 139.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6C1E |
|---|---|
| RGB | rgb(47, 108, 30) |
| HSL | hsl(107, 57%, 27%) |
| HSV | hsv(107, 72%, 42%) |
| CMYK | cmyk(56.5%, 0%, 72.2%, 57.6%) |
| CIE-LAB | lab(40.28, -35.35, 36.13) |
| CIE-LCH | lch(40.28, 50.55, 134.38°) |
| OKLab | oklab(47.34% -0.0971 0.0826) |
| OKLCH | oklch(47.34% 0.127 139.6) |
| XYZ | xyz(6.7689, 11.4227, 3.0761) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.54
Darkish Green
#287C37
ΔE00 6.40
Tree Green
#2A7E19
ΔE00 6.47
Deep Green
#02590F
ΔE00 7.02
Forest Green
#2D5A27
ΔE00 7.25
Darkolivegreen
#556B2F
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6C1E #5B1E6C
analogous
#566C1E #2F6C1E #1E6C34
triadic
#2F6C1E #1E2F6C #6C1E2F
tetradic
#2F6C1E #1E566C #5B1E6C #6C341E
square
#2F6C1E #1E566C #5B1E6C #6C341E
split-complementary
#2F6C1E #341E6C #6C1E56
monochromatic
#0A1807 #1A3C11 #2F6C1E #449C2B #5AC93C
Accessibility & contrast
On white
6.39
#2F6C1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#2F6C1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6C1E
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6C1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6C1E | 1.00 | 6.39 | 3.28 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6213
Deuteranopia (green-blind)
#675D25
Tritanopia (blue-blind)
#29685C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f6c1e; /* rgb */ color: rgb(47, 108, 30); /* oklch */ color: oklch(47.3% 0.127 139.6);
Tailwind
colors: {
custom: {
50: '#6e975e',
500: '#2f6c1e',
950: '#000000',
},
}SCSS
$custom: #2f6c1e; $custom-light: #6e975e; $custom-dark: #000000;
JSON
{
"hex": "#2f6c1e",
"rgb": {
"r": 47,
"g": 108,
"b": 30
},
"hsl": {
"h": 106.923,
"s": 56.522,
"l": 27.059
},
"oklch": {
"l": 0.47343,
"c": 0.12747,
"h": 139.6
},
"luminance": 0.11423
}Semantic roles & 50–950 ramp
primary
#2F6C1E
secondary
#8D45A0
accent
#48E0BF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79