#2F7218#2F7218
#2F7218 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.139 H 139.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7218 |
|---|---|
| RGB | rgb(47, 114, 24) |
| HSL | hsl(105, 65%, 27%) |
| HSV | hsv(105, 79%, 45%) |
| CMYK | cmyk(58.8%, 0%, 78.9%, 55.3%) |
| CIE-LAB | lab(42.31, -38.29, 40.62) |
| CIE-LCH | lch(42.31, 55.82, 133.31°) |
| OKLab | oklab(49% -0.1054 0.0911) |
| OKLCH | oklch(49% 0.139 139.2) |
| XYZ | xyz(7.3542, 12.7043, 2.9286) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.21
Darkgreen
#006400
ΔE00 5.61
Green
#008000
ΔE00 5.68
Dark Grass Green
#388004
ΔE00 5.70
Darkish Green
#287C37
ΔE00 5.74
Darkolivegreen
#556B2F
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7218 #5B1872
analogous
#5C7218 #2F7218 #18722E
triadic
#2F7218 #182F72 #72182F
tetradic
#2F7218 #185C72 #5B1872 #722E18
square
#2F7218 #185C72 #5B1872 #722E18
split-complementary
#2F7218 #2E1872 #72185C
monochromatic
#0A1905 #1A3F0D #2F7218 #44A523 #5AD431
Accessibility & contrast
On white
5.93
#2F7218 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2F7218 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7218
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7218 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7218 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766705
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#286E61
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f7218; /* rgb */ color: rgb(47, 114, 24); /* oklch */ color: oklch(49.0% 0.139 139.2);
Tailwind
colors: {
custom: {
50: '#709b5c',
500: '#2f7218',
950: '#000000',
},
}SCSS
$custom: #2f7218; $custom-light: #709b5c; $custom-dark: #000000;
JSON
{
"hex": "#2f7218",
"rgb": {
"r": 47,
"g": 114,
"b": 24
},
"hsl": {
"h": 104.667,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.49004,
"c": 0.13935,
"h": 139.2
},
"luminance": 0.12705
}Semantic roles & 50–950 ramp
primary
#2F7218
secondary
#8D3EA7
accent
#40E8BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79