#2F7816#2F7816
#2F7816 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.148 H 139.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7816 |
|---|---|
| RGB | rgb(47, 120, 22) |
| HSL | hsl(105, 69%, 28%) |
| HSV | hsv(105, 82%, 47%) |
| CMYK | cmyk(60.8%, 0%, 81.7%, 52.9%) |
| CIE-LAB | lab(44.37, -40.78, 43.30) |
| CIE-LCH | lch(44.37, 59.48, 133.28°) |
| OKLab | oklab(50.7% -0.1123 0.0964) |
| OKLCH | oklch(50.7% 0.148 139.4) |
| XYZ | xyz(8.0332, 14.0945, 3.0561) |
| Luminance | 0.1409 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.15
Dark Grass Green
#388004
ΔE00 3.70
Green
#008000
ΔE00 3.84
Darkish Green
#287C37
ΔE00 5.38
Forestgreen (CSS)
#228B22
ΔE00 6.77
Darkgreen
#006400
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7816 #5F1678
analogous
#607816 #2F7816 #16782E
triadic
#2F7816 #162F78 #78162F
tetradic
#2F7816 #166078 #5F1678 #782E16
square
#2F7816 #166078 #5F1678 #782E16
split-complementary
#2F7816 #2E1678 #781660
monochromatic
#0A1A05 #1B440D #2F7816 #43AC1F #5BD92F
Accessibility & contrast
On white
5.50
#2F7816 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#2F7816 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7816
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7816 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7816 | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#277466
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #2f7816; /* rgb */ color: rgb(47, 120, 22); /* oklch */ color: oklch(50.7% 0.148 139.4);
Tailwind
colors: {
custom: {
50: '#71a05c',
500: '#2f7816',
950: '#000000',
},
}SCSS
$custom: #2f7816; $custom-light: #71a05c; $custom-dark: #000000;
JSON
{
"hex": "#2f7816",
"rgb": {
"r": 47,
"g": 120,
"b": 22
},
"hsl": {
"h": 104.694,
"s": 69.014,
"l": 27.843
},
"oklch": {
"l": 0.50696,
"c": 0.14797,
"h": 139.4
},
"luminance": 0.14095
}Semantic roles & 50–950 ramp
primary
#2F7816
secondary
#913CAD
accent
#3CECBF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79