#2F7313#2F7313
#2F7313 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.143 H 138.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7313 |
|---|---|
| RGB | rgb(47, 115, 19) |
| HSL | hsl(103, 72%, 26%) |
| HSV | hsv(103, 83%, 45%) |
| CMYK | cmyk(59.1%, 0%, 83.5%, 54.9%) |
| CIE-LAB | lab(42.63, -39.02, 42.64) |
| CIE-LCH | lch(42.63, 57.80, 132.46°) |
| OKLab | oklab(49.26% -0.1077 0.0946) |
| OKLCH | oklch(49.26% 0.143 138.7) |
| XYZ | xyz(7.4203, 12.9122, 2.7172) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.85
Dark Grass Green
#388004
ΔE00 5.10
Green
#008000
ΔE00 5.23
Darkgreen
#006400
ΔE00 5.89
Darkish Green
#287C37
ΔE00 6.09
Darkolivegreen
#556B2F
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7313 #571373
analogous
#5F7313 #2F7313 #137327
triadic
#2F7313 #132F73 #73132F
tetradic
#2F7313 #135F73 #571373 #732713
square
#2F7313 #135F73 #571373 #732713
split-complementary
#2F7313 #271373 #73135F
monochromatic
#0B1A04 #1A3E0A #2F7313 #44A81C #5ADB25
Accessibility & contrast
On white
5.86
#2F7313 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2F7313 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7313
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7313 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7313 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E631E
Tritanopia (blue-blind)
#286F61
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f7313; /* rgb */ color: rgb(47, 115, 19); /* oklch */ color: oklch(49.3% 0.143 138.7);
Tailwind
colors: {
custom: {
50: '#709c5a',
500: '#2f7313',
950: '#000000',
},
}SCSS
$custom: #2f7313; $custom-light: #709c5a; $custom-dark: #000000;
JSON
{
"hex": "#2f7313",
"rgb": {
"r": 47,
"g": 115,
"b": 19
},
"hsl": {
"h": 102.5,
"s": 71.642,
"l": 26.275
},
"oklch": {
"l": 0.49256,
"c": 0.14332,
"h": 138.7
},
"luminance": 0.12913
}Semantic roles & 50–950 ramp
primary
#2F7313
secondary
#8838AA
accent
#39EEBA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79