#2F7019#2F7019
#2F7019 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.136 H 139.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7019 |
|---|---|
| RGB | rgb(47, 112, 25) |
| HSL | hsl(105, 64%, 27%) |
| HSV | hsv(105, 78%, 44%) |
| CMYK | cmyk(58%, 0%, 77.7%, 56.1%) |
| CIE-LAB | lab(41.63, -37.42, 39.57) |
| CIE-LCH | lch(41.63, 54.46, 133.40°) |
| OKLab | oklab(48.44% -0.103 0.089) |
| OKLCH | oklch(48.44% 0.136 139.2) |
| XYZ | xyz(7.1416, 12.2623, 2.9100) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.92
Darkgreen
#006400
ΔE00 5.12
Darkish Green
#287C37
ΔE00 5.98
Green
#008000
ΔE00 6.36
Dark Grass Green
#388004
ΔE00 6.41
Darkolivegreen
#556B2F
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7019 #5A1970
analogous
#5B7019 #2F7019 #19702F
triadic
#2F7019 #192F70 #70192F
tetradic
#2F7019 #195B70 #5A1970 #702F19
square
#2F7019 #195B70 #5A1970 #702F19
split-complementary
#2F7019 #2F1970 #70195B
monochromatic
#0A1906 #1A3E0E #2F7019 #44A224 #5AD132
Accessibility & contrast
On white
6.08
#2F7019 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#2F7019 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7019
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7019 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7019 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736608
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#286C5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2f7019; /* rgb */ color: rgb(47, 112, 25); /* oklch */ color: oklch(48.4% 0.136 139.2);
Tailwind
colors: {
custom: {
50: '#709a5c',
500: '#2f7019',
950: '#000000',
},
}SCSS
$custom: #2f7019; $custom-light: #709a5c; $custom-dark: #000000;
JSON
{
"hex": "#2f7019",
"rgb": {
"r": 47,
"g": 112,
"b": 25
},
"hsl": {
"h": 104.828,
"s": 63.504,
"l": 26.863
},
"oklch": {
"l": 0.48441,
"c": 0.13617,
"h": 139.2
},
"luminance": 0.12263
}Semantic roles & 50–950 ramp
primary
#2F7019
secondary
#8C40A5
accent
#41E7BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79