#2F8E26#2F8E26
#2F8E26 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.165 H 141.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8E26 |
|---|---|
| RGB | rgb(47, 142, 38) |
| HSL | hsl(115, 58%, 35%) |
| HSV | hsv(115, 73%, 56%) |
| CMYK | cmyk(66.9%, 0%, 73.2%, 44.3%) |
| CIE-LAB | lab(51.94, -47.75, 44.94) |
| CIE-LCH | lch(51.94, 65.57, 136.73°) |
| OKLab | oklab(56.99% -0.1301 0.1021) |
| OKLCH | oklch(56.99% 0.165 141.9) |
| XYZ | xyz(11.1945, 20.0891, 5.1210) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.47
Emerald Green
#028F1E
ΔE00 2.02
Irish Green
#019529
ΔE00 3.00
True Green
#089404
ΔE00 3.41
Kelley Green
#009337
ΔE00 3.75
Fern Green
#548D44
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8E26 #85268E
analogous
#638E26 #2F8E26 #268E51
triadic
#2F8E26 #262F8E #8E262F
tetradic
#2F8E26 #26638E #85268E #8E5126
square
#2F8E26 #26638E #85268E #8E5126
split-complementary
#2F8E26 #51268E #8E2663
monochromatic
#0F2D0C #1F5E19 #2F8E26 #3FBE33 #66D35B
Accessibility & contrast
On white
4.18
#2F8E26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#2F8E26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8E26
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8E26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8E26 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918115
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#1C8A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2f8e26; /* rgb */ color: rgb(47, 142, 38); /* oklch */ color: oklch(57.0% 0.165 141.9);
Tailwind
colors: {
custom: {
50: '#75b067',
500: '#2f8e26',
950: '#000000',
},
}SCSS
$custom: #2f8e26; $custom-light: #75b067; $custom-dark: #000000;
JSON
{
"hex": "#2f8e26",
"rgb": {
"r": 47,
"g": 142,
"b": 38
},
"hsl": {
"h": 114.808,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.56992,
"c": 0.16542,
"h": 141.9
},
"luminance": 0.2009
}Semantic roles & 50–950 ramp
primary
#2F8E26
secondary
#B058B8
accent
#47E1D4
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A