#2F7226#2F7226
#2F7226 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.129 H 141.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7226 |
|---|---|
| RGB | rgb(47, 114, 38) |
| HSL | hsl(113, 50%, 30%) |
| HSV | hsv(113, 67%, 45%) |
| CMYK | cmyk(58.8%, 0%, 66.7%, 55.3%) |
| CIE-LAB | lab(42.43, -37.01, 34.80) |
| CIE-LCH | lch(42.43, 50.80, 136.77°) |
| OKLab | oklab(49.13% -0.1011 0.0808) |
| OKLCH | oklch(49.13% 0.129 141.4) |
| XYZ | xyz(7.5391, 12.7783, 3.9025) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.26
Tree Green
#2A7E19
ΔE00 4.94
Darkgreen
#006400
ΔE00 6.07
Green
#008000
ΔE00 6.65
Dark Grass Green
#388004
ΔE00 7.01
Jungle Green
#048243
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7226 #692672
analogous
#557226 #2F7226 #267243
triadic
#2F7226 #262F72 #72262F
tetradic
#2F7226 #265572 #692672 #724326
square
#2F7226 #265572 #692672 #724326
split-complementary
#2F7226 #432672 #722655
monochromatic
#091708 #1C4417 #2F7226 #42A035 #5CC44E
Accessibility & contrast
On white
5.91
#2F7226 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#2F7226 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7226
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7226 | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75681D
Deuteranopia (green-blind)
#6C622C
Tritanopia (blue-blind)
#266E62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f7226; /* rgb */ color: rgb(47, 114, 38); /* oklch */ color: oklch(49.1% 0.129 141.4);
Tailwind
colors: {
custom: {
50: '#6f9b64',
500: '#2f7226',
950: '#000000',
},
}SCSS
$custom: #2f7226; $custom-light: #6f9b64; $custom-dark: #000000;
JSON
{
"hex": "#2f7226",
"rgb": {
"r": 47,
"g": 114,
"b": 38
},
"hsl": {
"h": 112.895,
"s": 50,
"l": 29.804
},
"oklch": {
"l": 0.49133,
"c": 0.12939,
"h": 141.4
},
"luminance": 0.12779
}Semantic roles & 50–950 ramp
primary
#2F7226
secondary
#9A4FA5
accent
#4EDAC9
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A