#2F7516#2F7516
#2F7516 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.144 H 139.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7516 |
|---|---|
| RGB | rgb(47, 117, 22) |
| HSL | hsl(104, 68%, 27%) |
| HSV | hsv(104, 81%, 46%) |
| CMYK | cmyk(59.8%, 0%, 81.2%, 54.1%) |
| CIE-LAB | lab(43.34, -39.62, 42.32) |
| CIE-LCH | lch(43.34, 57.97, 133.11°) |
| OKLab | oklab(49.84% -0.1091 0.0943) |
| OKLCH | oklch(49.84% 0.144 139.2) |
| XYZ | xyz(7.6781, 13.3842, 2.9377) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.16
Dark Grass Green
#388004
ΔE00 4.62
Green
#008000
ΔE00 4.69
Darkish Green
#287C37
ΔE00 5.57
Darkgreen
#006400
ΔE00 6.43
Forestgreen (CSS)
#228B22
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7516 #5C1675
analogous
#5E7516 #2F7516 #16752D
triadic
#2F7516 #162F75 #75162F
tetradic
#2F7516 #165E75 #5C1675 #752D16
square
#2F7516 #165E75 #5C1675 #752D16
split-complementary
#2F7516 #2D1675 #75165E
monochromatic
#0A1A05 #1A410C #2F7516 #44A920 #5AD82E
Accessibility & contrast
On white
5.71
#2F7516 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#2F7516 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7516
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7516 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7516 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#277163
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f7516; /* rgb */ color: rgb(47, 117, 22); /* oklch */ color: oklch(49.8% 0.144 139.2);
Tailwind
colors: {
custom: {
50: '#719d5c',
500: '#2f7516',
950: '#000000',
},
}SCSS
$custom: #2f7516; $custom-light: #719d5c; $custom-dark: #000000;
JSON
{
"hex": "#2f7516",
"rgb": {
"r": 47,
"g": 117,
"b": 22
},
"hsl": {
"h": 104.211,
"s": 68.345,
"l": 27.255
},
"oklch": {
"l": 0.49844,
"c": 0.14426,
"h": 139.2
},
"luminance": 0.13385
}Semantic roles & 50–950 ramp
primary
#2F7516
secondary
#8E3CAB
accent
#3DEBBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79