#2F7018#2F7018
#2F7018 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.137 H 139.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7018 |
|---|---|
| RGB | rgb(47, 112, 24) |
| HSL | hsl(104, 65%, 27%) |
| HSV | hsv(104, 79%, 44%) |
| CMYK | cmyk(58%, 0%, 78.6%, 56.1%) |
| CIE-LAB | lab(41.62, -37.49, 39.94) |
| CIE-LCH | lch(41.62, 54.78, 133.19°) |
| OKLab | oklab(48.43% -0.1033 0.0897) |
| OKLCH | oklch(48.43% 0.137 139) |
| XYZ | xyz(7.1310, 12.2580, 2.8542) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.90
Darkgreen
#006400
ΔE00 5.11
Darkish Green
#287C37
ΔE00 6.07
Green
#008000
ΔE00 6.32
Dark Grass Green
#388004
ΔE00 6.34
Darkolivegreen
#556B2F
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7018 #591870
analogous
#5B7018 #2F7018 #18702D
triadic
#2F7018 #182F70 #70182F
tetradic
#2F7018 #185B70 #591870 #702D18
square
#2F7018 #185B70 #591870 #702D18
split-complementary
#2F7018 #2D1870 #70185B
monochromatic
#0B1905 #1A3E0D #2F7018 #44A223 #5AD330
Accessibility & contrast
On white
6.08
#2F7018 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#2F7018 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7018
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7018 | 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)
#736606
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#286C5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2f7018; /* rgb */ color: rgb(47, 112, 24); /* oklch */ color: oklch(48.4% 0.137 139.0);
Tailwind
colors: {
custom: {
50: '#709a5c',
500: '#2f7018',
950: '#000000',
},
}SCSS
$custom: #2f7018; $custom-light: #709a5c; $custom-dark: #000000;
JSON
{
"hex": "#2f7018",
"rgb": {
"r": 47,
"g": 112,
"b": 24
},
"hsl": {
"h": 104.318,
"s": 64.706,
"l": 26.667
},
"oklch": {
"l": 0.48433,
"c": 0.13678,
"h": 139
},
"luminance": 0.12259
}Semantic roles & 50–950 ramp
primary
#2F7018
secondary
#8B3EA5
accent
#40E8BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79