#2F703F#2F703F
#2F703F is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.102 H 149.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F703F |
|---|---|
| RGB | rgb(47, 112, 63) |
| HSL | hsl(135, 41%, 31%) |
| HSV | hsv(135, 58%, 44%) |
| CMYK | cmyk(58%, 0%, 43.7%, 56.1%) |
| CIE-LAB | lab(42.08, -32.47, 21.14) |
| CIE-LCH | lch(42.08, 38.75, 146.94°) |
| OKLab | oklab(48.96% -0.0879 0.0523) |
| OKLCH | oklch(48.96% 0.102 149.3) |
| XYZ | xyz(7.8631, 12.5509, 6.7099) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.45
Pine
#2B5D34
ΔE00 6.43
Spruce
#0A5F38
ΔE00 6.74
Hunter Green
#355E3B
ΔE00 6.86
Jungle Green
#048243
ΔE00 6.90
Forest Green
#2D5A27
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F703F #702F60
analogous
#3F702F #2F703F #2F705F
triadic
#2F703F #3F2F70 #703F2F
tetradic
#2F703F #2F3F70 #702F60 #705F2F
square
#2F703F #2F3F70 #702F60 #705F2F
split-complementary
#2F703F #5F2F70 #702F3F
monochromatic
#0B1A0F #1D4527 #2F703F #419B57 #5EBB75
Accessibility & contrast
On white
5.98
#2F703F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#2F703F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F703F
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F703F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F703F | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71673B
Deuteranopia (green-blind)
#686142
Tritanopia (blue-blind)
#206E64
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2f703f; /* rgb */ color: rgb(47, 112, 63); /* oklch */ color: oklch(49.0% 0.102 149.3);
Tailwind
colors: {
custom: {
50: '#6e9a74',
500: '#2f703f',
950: '#000000',
},
}SCSS
$custom: #2f703f; $custom-light: #6e9a74; $custom-dark: #000000;
JSON
{
"hex": "#2f703f",
"rgb": {
"r": 47,
"g": 112,
"b": 63
},
"hsl": {
"h": 134.769,
"s": 40.881,
"l": 31.176
},
"oklch": {
"l": 0.48955,
"c": 0.1023,
"h": 149.3
},
"luminance": 0.12552
}Semantic roles & 50–950 ramp
primary
#2F703F
secondary
#A15A90
accent
#57B3D1
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B