#2F7529#2F7529
#2F7529 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.131 H 142.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7529 |
|---|---|
| RGB | rgb(47, 117, 41) |
| HSL | hsl(115, 48%, 31%) |
| HSV | hsv(115, 65%, 46%) |
| CMYK | cmyk(59.8%, 0%, 65%, 54.1%) |
| CIE-LAB | lab(43.49, -37.90, 34.55) |
| CIE-LCH | lch(43.49, 51.28, 137.65°) |
| OKLab | oklab(50.02% -0.1033 0.0806) |
| OKLCH | oklch(50.02% 0.131 142) |
| XYZ | xyz(7.9334, 13.4863, 4.2824) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.31
Tree Green
#2A7E19
ΔE00 4.26
Green
#008000
ΔE00 6.09
Dark Grass Green
#388004
ΔE00 6.53
Jungle Green
#048243
ΔE00 6.75
Darkgreen
#006400
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7529 #6F2975
analogous
#557529 #2F7529 #297549
triadic
#2F7529 #292F75 #75292F
tetradic
#2F7529 #295575 #6F2975 #754929
square
#2F7529 #295575 #6F2975 #754929
split-complementary
#2F7529 #492975 #752955
monochromatic
#0B1A09 #1D4819 #2F7529 #41A239 #5EC355
Accessibility & contrast
On white
5.68
#2F7529 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#2F7529 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7529
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7529 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7529 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A20
Deuteranopia (green-blind)
#6F642F
Tritanopia (blue-blind)
#257165
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2f7529; /* rgb */ color: rgb(47, 117, 41); /* oklch */ color: oklch(50.0% 0.131 142.0);
Tailwind
colors: {
custom: {
50: '#709d66',
500: '#2f7529',
950: '#000000',
},
}SCSS
$custom: #2f7529; $custom-light: #709d66; $custom-dark: #000000;
JSON
{
"hex": "#2f7529",
"rgb": {
"r": 47,
"g": 117,
"b": 41
},
"hsl": {
"h": 115.263,
"s": 48.101,
"l": 30.98
},
"oklch": {
"l": 0.50016,
"c": 0.13101,
"h": 142
},
"luminance": 0.13487
}Semantic roles & 50–950 ramp
primary
#2F7529
secondary
#A053A7
accent
#50D8CD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A