#2F7318#2F7318
#2F7318 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.141 H 139.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7318 |
|---|---|
| RGB | rgb(47, 115, 24) |
| HSL | hsl(105, 65%, 27%) |
| HSV | hsv(105, 79%, 45%) |
| CMYK | cmyk(59.1%, 0%, 79.1%, 54.9%) |
| CIE-LAB | lab(42.66, -38.69, 40.96) |
| CIE-LCH | lch(42.66, 56.34, 133.37°) |
| OKLab | oklab(49.29% -0.1065 0.0918) |
| OKLCH | oklch(49.29% 0.141 139.2) |
| XYZ | xyz(7.4676, 12.9311, 2.9664) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.86
Green
#008000
ΔE00 5.37
Dark Grass Green
#388004
ΔE00 5.38
Darkish Green
#287C37
ΔE00 5.59
Darkgreen
#006400
ΔE00 5.87
Darkolivegreen
#556B2F
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7318 #5C1873
analogous
#5D7318 #2F7318 #18732E
triadic
#2F7318 #182F73 #73182F
tetradic
#2F7318 #185D73 #5C1873 #732E18
square
#2F7318 #185D73 #5C1873 #732E18
split-complementary
#2F7318 #2E1873 #73185D
monochromatic
#0A1905 #1A400D #2F7318 #44A623 #5AD431
Accessibility & contrast
On white
5.86
#2F7318 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#2F7318 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7318
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7318 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7318 | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776804
Deuteranopia (green-blind)
#6E6322
Tritanopia (blue-blind)
#286F62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f7318; /* rgb */ color: rgb(47, 115, 24); /* oklch */ color: oklch(49.3% 0.141 139.2);
Tailwind
colors: {
custom: {
50: '#709c5c',
500: '#2f7318',
950: '#000000',
},
}SCSS
$custom: #2f7318; $custom-light: #709c5c; $custom-dark: #000000;
JSON
{
"hex": "#2f7318",
"rgb": {
"r": 47,
"g": 115,
"b": 24
},
"hsl": {
"h": 104.835,
"s": 65.468,
"l": 27.255
},
"oklch": {
"l": 0.49288,
"c": 0.14062,
"h": 139.2
},
"luminance": 0.12932
}Semantic roles & 50–950 ramp
primary
#2F7318
secondary
#8E3FA8
accent
#3FE8BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79