#2F7527#2F7527
#2F7527 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.133 H 141.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7527 |
|---|---|
| RGB | rgb(47, 117, 39) |
| HSL | hsl(114, 50%, 31%) |
| HSV | hsv(114, 67%, 46%) |
| CMYK | cmyk(59.8%, 0%, 66.7%, 54.1%) |
| CIE-LAB | lab(43.47, -38.12, 35.48) |
| CIE-LCH | lch(43.47, 52.08, 137.06°) |
| OKLab | oklab(49.99% -0.104 0.0823) |
| OKLCH | oklch(49.99% 0.133 141.6) |
| XYZ | xyz(7.8994, 13.4727, 4.1033) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.55
Tree Green
#2A7E19
ΔE00 4.03
Green
#008000
ΔE00 5.86
Dark Grass Green
#388004
ΔE00 6.26
Darkgreen
#006400
ΔE00 6.80
Jungle Green
#048243
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7527 #6D2775
analogous
#567527 #2F7527 #277546
triadic
#2F7527 #272F75 #75272F
tetradic
#2F7527 #275675 #6D2775 #754627
square
#2F7527 #275675 #6D2775 #754627
split-complementary
#2F7527 #462775 #752756
monochromatic
#0A1908 #1D4718 #2F7527 #41A336 #5DC551
Accessibility & contrast
On white
5.68
#2F7527 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#2F7527 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7527
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7527 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7527 | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A1E
Deuteranopia (green-blind)
#6F642E
Tritanopia (blue-blind)
#257165
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2f7527; /* rgb */ color: rgb(47, 117, 39); /* oklch */ color: oklch(50.0% 0.133 141.6);
Tailwind
colors: {
custom: {
50: '#709d65',
500: '#2f7527',
950: '#000000',
},
}SCSS
$custom: #2f7527; $custom-light: #709d65; $custom-dark: #000000;
JSON
{
"hex": "#2f7527",
"rgb": {
"r": 47,
"g": 117,
"b": 39
},
"hsl": {
"h": 113.846,
"s": 50,
"l": 30.588
},
"oklch": {
"l": 0.49993,
"c": 0.13267,
"h": 141.6
},
"luminance": 0.13473
}Semantic roles & 50–950 ramp
primary
#2F7527
secondary
#9E51A7
accent
#4EDACB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A