#2F7415#2F7415
#2F7415 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.6% C 0.144 H 139.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7415 |
|---|---|
| RGB | rgb(47, 116, 21) |
| HSL | hsl(104, 69%, 27%) |
| HSV | hsv(104, 82%, 45%) |
| CMYK | cmyk(59.5%, 0%, 81.9%, 54.5%) |
| CIE-LAB | lab(42.99, -39.29, 42.32) |
| CIE-LCH | lch(42.99, 57.75, 132.87°) |
| OKLab | oklab(49.55% -0.1083 0.0942) |
| OKLCH | oklch(49.55% 0.144 139) |
| XYZ | xyz(7.5527, 13.1486, 2.8493) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.50
Dark Grass Green
#388004
ΔE00 4.88
Green
#008000
ΔE00 4.96
Darkish Green
#287C37
ΔE00 5.77
Darkgreen
#006400
ΔE00 6.16
Forestgreen (CSS)
#228B22
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7415 #5A1574
analogous
#5F7415 #2F7415 #15742B
triadic
#2F7415 #152F74 #74152F
tetradic
#2F7415 #155F74 #5A1574 #742B15
square
#2F7415 #155F74 #5A1574 #742B15
split-complementary
#2F7415 #2B1574 #74155F
monochromatic
#0A1A05 #1A400C #2F7415 #44A81E #5AD92B
Accessibility & contrast
On white
5.79
#2F7415 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#2F7415 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7415
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7415 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7415 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#287062
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f7415; /* rgb */ color: rgb(47, 116, 21); /* oklch */ color: oklch(49.6% 0.144 139.0);
Tailwind
colors: {
custom: {
50: '#709d5b',
500: '#2f7415',
950: '#000000',
},
}SCSS
$custom: #2f7415; $custom-light: #709d5b; $custom-dark: #000000;
JSON
{
"hex": "#2f7415",
"rgb": {
"r": 47,
"g": 116,
"b": 21
},
"hsl": {
"h": 103.579,
"s": 69.343,
"l": 26.863
},
"oklch": {
"l": 0.49553,
"c": 0.14354,
"h": 139
},
"luminance": 0.13149
}Semantic roles & 50–950 ramp
primary
#2F7415
secondary
#8C3BAA
accent
#3CECBC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79