#2F7714#2F7714
#2F7714 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.148 H 139.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7714 |
|---|---|
| RGB | rgb(47, 119, 20) |
| HSL | hsl(104, 71%, 27%) |
| HSV | hsv(104, 83%, 47%) |
| CMYK | cmyk(60.5%, 0%, 83.2%, 53.3%) |
| CIE-LAB | lab(44.01, -40.52, 43.62) |
| CIE-LCH | lch(44.01, 59.53, 132.89°) |
| OKLab | oklab(50.4% -0.1117 0.0967) |
| OKLCH | oklch(50.4% 0.148 139.1) |
| XYZ | xyz(7.8951, 13.8478, 2.9185) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.51
Dark Grass Green
#388004
ΔE00 3.88
Green
#008000
ΔE00 4.06
Darkish Green
#287C37
ΔE00 5.63
Darkgreen
#006400
ΔE00 7.04
Forestgreen (CSS)
#228B22
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7714 #5C1477
analogous
#617714 #2F7714 #14772A
triadic
#2F7714 #142F77 #77142F
tetradic
#2F7714 #146177 #5C1477 #772A14
square
#2F7714 #146177 #5C1477 #772A14
split-complementary
#2F7714 #2A1477 #771461
monochromatic
#0A1A04 #1A430B #2F7714 #44AB1D #5ADB2A
Accessibility & contrast
On white
5.57
#2F7714 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#2F7714 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7714
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7714 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7714 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#277365
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #2f7714; /* rgb */ color: rgb(47, 119, 20); /* oklch */ color: oklch(50.4% 0.148 139.1);
Tailwind
colors: {
custom: {
50: '#719f5b',
500: '#2f7714',
950: '#000000',
},
}SCSS
$custom: #2f7714; $custom-light: #719f5b; $custom-dark: #000000;
JSON
{
"hex": "#2f7714",
"rgb": {
"r": 47,
"g": 119,
"b": 20
},
"hsl": {
"h": 103.636,
"s": 71.223,
"l": 27.255
},
"oklch": {
"l": 0.504,
"c": 0.14775,
"h": 139.1
},
"luminance": 0.13848
}Semantic roles & 50–950 ramp
primary
#2F7714
secondary
#8E3AAD
accent
#3AEEBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79