#2F7111#2F7111
#2F7111 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.142 H 138.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7111 |
|---|---|
| RGB | rgb(47, 113, 17) |
| HSL | hsl(101, 74%, 25%) |
| HSV | hsv(101, 85%, 44%) |
| CMYK | cmyk(58.4%, 0%, 85%, 55.7%) |
| CIE-LAB | lab(41.93, -38.35, 42.61) |
| CIE-LCH | lch(41.93, 57.33, 131.98°) |
| OKLab | oklab(48.67% -0.106 0.0942) |
| OKLCH | oklch(48.67% 0.142 138.4) |
| XYZ | xyz(7.1783, 12.4545, 2.5559) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.53
Darkgreen
#006400
ΔE00 5.39
Dark Grass Green
#388004
ΔE00 5.66
Green
#008000
ΔE00 5.82
Darkish Green
#287C37
ΔE00 6.54
Darkolivegreen
#556B2F
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7111 #531171
analogous
#5F7111 #2F7111 #117123
triadic
#2F7111 #112F71 #71112F
tetradic
#2F7111 #115F71 #531171 #712311
square
#2F7111 #115F71 #531171 #712311
split-complementary
#2F7111 #231171 #71115F
monochromatic
#0B1B04 #193C09 #2F7111 #45A619 #5BDB21
Accessibility & contrast
On white
6.02
#2F7111 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#2F7111 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7111
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7111 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7111 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 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: #2f7111; /* rgb */ color: rgb(47, 113, 17); /* oklch */ color: oklch(48.7% 0.142 138.4);
Tailwind
colors: {
custom: {
50: '#709a59',
500: '#2f7111',
950: '#000000',
},
}SCSS
$custom: #2f7111; $custom-light: #709a59; $custom-dark: #000000;
JSON
{
"hex": "#2f7111",
"rgb": {
"r": 47,
"g": 113,
"b": 17
},
"hsl": {
"h": 101.25,
"s": 73.846,
"l": 25.49
},
"oklch": {
"l": 0.48673,
"c": 0.1418,
"h": 138.4
},
"luminance": 0.12455
}Semantic roles & 50–950 ramp
primary
#2F7111
secondary
#8436A8
accent
#37F1B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79