#2F7112#2F7112
#2F7112 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.141 H 138.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7112 |
|---|---|
| RGB | rgb(47, 113, 18) |
| HSL | hsl(102, 73%, 26%) |
| HSV | hsv(102, 84%, 44%) |
| CMYK | cmyk(58.4%, 0%, 84.1%, 55.7%) |
| CIE-LAB | lab(41.93, -38.29, 42.31) |
| CIE-LCH | lch(41.93, 57.06, 132.15°) |
| OKLab | oklab(48.68% -0.1058 0.0937) |
| OKLCH | oklch(48.68% 0.141 138.5) |
| XYZ | xyz(7.1863, 12.4577, 2.5980) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.53
Darkgreen
#006400
ΔE00 5.37
Dark Grass Green
#388004
ΔE00 5.70
Green
#008000
ΔE00 5.83
Darkish Green
#287C37
ΔE00 6.45
Darkolivegreen
#556B2F
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7112 #541271
analogous
#5E7112 #2F7112 #127124
triadic
#2F7112 #122F71 #71122F
tetradic
#2F7112 #125E71 #541271 #712412
square
#2F7112 #125E71 #541271 #712412
split-complementary
#2F7112 #241271 #71125E
monochromatic
#0B1A04 #193C0A #2F7112 #45A61A #5BDB23
Accessibility & contrast
On white
6.01
#2F7112 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#2F7112 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7112
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7112 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7112 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6C611D
Tritanopia (blue-blind)
#296D60
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2f7112; /* rgb */ color: rgb(47, 113, 18); /* oklch */ color: oklch(48.7% 0.141 138.5);
Tailwind
colors: {
custom: {
50: '#709a59',
500: '#2f7112',
950: '#000000',
},
}SCSS
$custom: #2f7112; $custom-light: #709a59; $custom-dark: #000000;
JSON
{
"hex": "#2f7112",
"rgb": {
"r": 47,
"g": 113,
"b": 18
},
"hsl": {
"h": 101.684,
"s": 72.519,
"l": 25.686
},
"oklch": {
"l": 0.48679,
"c": 0.14132,
"h": 138.5
},
"luminance": 0.12458
}Semantic roles & 50–950 ramp
primary
#2F7112
secondary
#8537A8
accent
#39EFB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79