#2F7118#2F7118
#2F7118 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.138 H 139.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7118 |
|---|---|
| RGB | rgb(47, 113, 24) |
| HSL | hsl(104, 65%, 27%) |
| HSV | hsv(104, 79%, 44%) |
| CMYK | cmyk(58.4%, 0%, 78.8%, 55.7%) |
| CIE-LAB | lab(41.97, -37.89, 40.28) |
| CIE-LCH | lch(41.97, 55.30, 133.25°) |
| OKLab | oklab(48.72% -0.1044 0.0904) |
| OKLCH | oklch(48.72% 0.138 139.1) |
| XYZ | xyz(7.2420, 12.4799, 2.8912) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.55
Darkgreen
#006400
ΔE00 5.35
Darkish Green
#287C37
ΔE00 5.90
Green
#008000
ΔE00 6.00
Dark Grass Green
#388004
ΔE00 6.02
Darkolivegreen
#556B2F
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7118 #5A1871
analogous
#5C7118 #2F7118 #18712D
triadic
#2F7118 #182F71 #71182F
tetradic
#2F7118 #185C71 #5A1871 #712D18
square
#2F7118 #185C71 #5A1871 #712D18
split-complementary
#2F7118 #2D1871 #71185C
monochromatic
#0A1905 #1A3F0D #2F7118 #44A323 #5AD330
Accessibility & contrast
On white
6.01
#2F7118 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#2F7118 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7118
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7118 | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756605
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#286D60
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2f7118; /* rgb */ color: rgb(47, 113, 24); /* oklch */ color: oklch(48.7% 0.138 139.1);
Tailwind
colors: {
custom: {
50: '#709a5c',
500: '#2f7118',
950: '#000000',
},
}SCSS
$custom: #2f7118; $custom-light: #709a5c; $custom-dark: #000000;
JSON
{
"hex": "#2f7118",
"rgb": {
"r": 47,
"g": 113,
"b": 24
},
"hsl": {
"h": 104.494,
"s": 64.964,
"l": 26.863
},
"oklch": {
"l": 0.48719,
"c": 0.13807,
"h": 139.1
},
"luminance": 0.12481
}Semantic roles & 50–950 ramp
primary
#2F7118
secondary
#8C3EA6
accent
#40E8BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79