#2F7919#2F7919
#2F7919 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.148 H 139.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7919 |
|---|---|
| RGB | rgb(47, 121, 25) |
| HSL | hsl(106, 66%, 29%) |
| HSV | hsv(106, 79%, 47%) |
| CMYK | cmyk(61.2%, 0%, 79.3%, 52.5%) |
| CIE-LAB | lab(44.73, -40.96, 42.62) |
| CIE-LCH | lch(44.73, 59.11, 133.87°) |
| OKLab | oklab(51% -0.1126 0.0954) |
| OKLCH | oklch(51% 0.148 139.7) |
| XYZ | xyz(8.1848, 14.3485, 3.2577) |
| Luminance | 0.1435 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.81
Dark Grass Green
#388004
ΔE00 3.64
Green
#008000
ΔE00 3.69
Darkish Green
#287C37
ΔE00 5.02
Forestgreen (CSS)
#228B22
ΔE00 6.41
Darkgreen
#006400
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7919 #631979
analogous
#5F7919 #2F7919 #197933
triadic
#2F7919 #192F79 #79192F
tetradic
#2F7919 #195F79 #631979 #793319
square
#2F7919 #195F79 #631979 #793319
split-complementary
#2F7919 #331979 #79195F
monochromatic
#0A1905 #1B460F #2F7919 #43AC23 #5BD637
Accessibility & contrast
On white
5.43
#2F7919 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#2F7919 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7919
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7919 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7919 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#267567
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2f7919; /* rgb */ color: rgb(47, 121, 25); /* oklch */ color: oklch(51.0% 0.148 139.7);
Tailwind
colors: {
custom: {
50: '#71a05e',
500: '#2f7919',
950: '#000000',
},
}SCSS
$custom: #2f7919; $custom-light: #71a05e; $custom-dark: #000000;
JSON
{
"hex": "#2f7919",
"rgb": {
"r": 47,
"g": 121,
"b": 25
},
"hsl": {
"h": 106.25,
"s": 65.753,
"l": 28.627
},
"oklch": {
"l": 0.51,
"c": 0.14757,
"h": 139.7
},
"luminance": 0.14349
}Semantic roles & 50–950 ramp
primary
#2F7919
secondary
#9540AE
accent
#3FE9C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79