#2F7129#2F7129
#2F7129 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.125 H 142.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7129 |
|---|---|
| RGB | rgb(47, 113, 41) |
| HSL | hsl(115, 47%, 30%) |
| HSV | hsv(115, 64%, 44%) |
| CMYK | cmyk(58.4%, 0%, 63.7%, 55.7%) |
| CIE-LAB | lab(42.11, -36.25, 33.00) |
| CIE-LCH | lch(42.11, 49.02, 137.69°) |
| OKLab | oklab(48.89% -0.0988 0.0773) |
| OKLCH | oklch(48.89% 0.125 142) |
| XYZ | xyz(7.4773, 12.5741, 4.1304) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.25
Tree Green
#2A7E19
ΔE00 5.58
Darkgreen
#006400
ΔE00 6.13
Green
#008000
ΔE00 7.29
Jungle Green
#048243
ΔE00 7.53
Dark Grass Green
#388004
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7129 #6B2971
analogous
#537129 #2F7129 #297147
triadic
#2F7129 #292F71 #71292F
tetradic
#2F7129 #295371 #6B2971 #714729
square
#2F7129 #295371 #6B2971 #714729
split-complementary
#2F7129 #472971 #712953
monochromatic
#0A1708 #1C4419 #2F7129 #429E39 #5DC154
Accessibility & contrast
On white
5.97
#2F7129 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#2F7129 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7129
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7129 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7129 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746721
Deuteranopia (green-blind)
#6B612F
Tritanopia (blue-blind)
#266E62
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2f7129; /* rgb */ color: rgb(47, 113, 41); /* oklch */ color: oklch(48.9% 0.125 142.0);
Tailwind
colors: {
custom: {
50: '#6f9a66',
500: '#2f7129',
950: '#000000',
},
}SCSS
$custom: #2f7129; $custom-light: #6f9a66; $custom-dark: #000000;
JSON
{
"hex": "#2f7129",
"rgb": {
"r": 47,
"g": 113,
"b": 41
},
"hsl": {
"h": 115,
"s": 46.753,
"l": 30.196
},
"oklch": {
"l": 0.48885,
"c": 0.12546,
"h": 142
},
"luminance": 0.12575
}Semantic roles & 50–950 ramp
primary
#2F7129
secondary
#9C53A3
accent
#51D6CB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A