#2F702F#2F702F
#2F702F is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.119 H 143.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F702F |
|---|---|
| RGB | rgb(47, 112, 47) |
| HSL | hsl(120, 41%, 31%) |
| HSV | hsv(120, 58%, 44%) |
| CMYK | cmyk(58%, 0%, 58%, 56.1%) |
| CIE-LAB | lab(41.84, -35.05, 29.63) |
| CIE-LCH | lch(41.84, 45.90, 139.79°) |
| OKLab | oklab(48.68% -0.0953 0.0705) |
| OKLCH | oklch(48.68% 0.119 143.5) |
| XYZ | xyz(7.4791, 12.3973, 4.6876) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.26
Tree Green
#2A7E19
ΔE00 6.68
Darkgreen
#006400
ΔE00 6.69
Jungle Green
#048243
ΔE00 7.24
Forest Green
#2D5A27
ΔE00 7.51
Pine
#2B5D34
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F702F #702F70
analogous
#4F702F #2F702F #2F704F
triadic
#2F702F #2F2F70 #702F2F
tetradic
#2F702F #2F4F70 #702F70 #704F2F
square
#2F702F #2F4F70 #702F70 #704F2F
split-complementary
#2F702F #4F2F70 #702F4F
monochromatic
#0B1A0B #1D451D #2F702F #419B41 #5EBB5E
Accessibility & contrast
On white
6.04
#2F702F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#2F702F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F702F
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F702F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F702F | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#6A6134
Tritanopia (blue-blind)
#256D61
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2f702f; /* rgb */ color: rgb(47, 112, 47); /* oklch */ color: oklch(48.7% 0.119 143.5);
Tailwind
colors: {
custom: {
50: '#6e9a69',
500: '#2f702f',
950: '#000000',
},
}SCSS
$custom: #2f702f; $custom-light: #6e9a69; $custom-dark: #000000;
JSON
{
"hex": "#2f702f",
"rgb": {
"r": 47,
"g": 112,
"b": 47
},
"hsl": {
"h": 120,
"s": 40.881,
"l": 31.176
},
"oklch": {
"l": 0.48682,
"c": 0.11854,
"h": 143.5
},
"luminance": 0.12398
}Semantic roles & 50–950 ramp
primary
#2F702F
secondary
#A15AA1
accent
#57D1D1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A