#2F7526#2F7526
#2F7526 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.133 H 141.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7526 |
|---|---|
| RGB | rgb(47, 117, 38) |
| HSL | hsl(113, 51%, 30%) |
| HSV | hsv(113, 68%, 46%) |
| CMYK | cmyk(59.8%, 0%, 67.5%, 54.1%) |
| CIE-LAB | lab(43.46, -38.23, 35.93) |
| CIE-LCH | lch(43.46, 52.47, 136.78°) |
| OKLab | oklab(49.98% -0.1044 0.0832) |
| OKLCH | oklch(49.98% 0.133 141.5) |
| XYZ | xyz(7.8830, 13.4662, 4.0172) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.67
Tree Green
#2A7E19
ΔE00 3.93
Green
#008000
ΔE00 5.75
Dark Grass Green
#388004
ΔE00 6.13
Darkgreen
#006400
ΔE00 6.75
Jungle Green
#048243
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7526 #6C2675
analogous
#567526 #2F7526 #267545
triadic
#2F7526 #262F75 #75262F
tetradic
#2F7526 #265675 #6C2675 #754526
square
#2F7526 #265675 #6C2675 #754526
split-complementary
#2F7526 #452675 #752656
monochromatic
#0A1908 #1C4717 #2F7526 #42A335 #5DC64F
Accessibility & contrast
On white
5.69
#2F7526 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#2F7526 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7526
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7526 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7526 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A1C
Deuteranopia (green-blind)
#6F642D
Tritanopia (blue-blind)
#257165
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2f7526; /* rgb */ color: rgb(47, 117, 38); /* oklch */ color: oklch(50.0% 0.133 141.5);
Tailwind
colors: {
custom: {
50: '#709d64',
500: '#2f7526',
950: '#000000',
},
}SCSS
$custom: #2f7526; $custom-light: #709d64; $custom-dark: #000000;
JSON
{
"hex": "#2f7526",
"rgb": {
"r": 47,
"g": 117,
"b": 38
},
"hsl": {
"h": 113.165,
"s": 50.968,
"l": 30.392
},
"oklch": {
"l": 0.49982,
"c": 0.13348,
"h": 141.5
},
"luminance": 0.13467
}Semantic roles & 50–950 ramp
primary
#2F7526
secondary
#9D4FA7
accent
#4DDACA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A