#2F8F26#2F8F26
#2F8F26 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.167 H 141.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8F26 |
|---|---|
| RGB | rgb(47, 143, 38) |
| HSL | hsl(115, 58%, 35%) |
| HSV | hsv(115, 73%, 56%) |
| CMYK | cmyk(67.1%, 0%, 73.4%, 43.9%) |
| CIE-LAB | lab(52.27, -48.10, 45.29) |
| CIE-LCH | lch(52.27, 66.07, 136.73°) |
| OKLab | oklab(57.27% -0.1311 0.1028) |
| OKLCH | oklch(57.27% 0.167 141.9) |
| XYZ | xyz(11.3440, 20.3880, 5.1708) |
| Luminance | 0.2039 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.76
Emerald Green
#028F1E
ΔE00 2.01
Irish Green
#019529
ΔE00 2.76
True Green
#089404
ΔE00 3.18
Kelley Green
#009337
ΔE00 3.67
Grass Green
#3F9B0B
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8F26 #86268F
analogous
#638F26 #2F8F26 #268F51
triadic
#2F8F26 #262F8F #8F262F
tetradic
#2F8F26 #26638F #86268F #8F5126
square
#2F8F26 #26638F #86268F #8F5126
split-complementary
#2F8F26 #51268F #8F2663
monochromatic
#0F2E0C #1F5F19 #2F8F26 #3FBF33 #66D45C
Accessibility & contrast
On white
4.14
#2F8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#2F8F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8F26
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8F26 | 1.00 | 4.14 | 5.08 | 5.08 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#1B8B7A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2f8f26; /* rgb */ color: rgb(47, 143, 38); /* oklch */ color: oklch(57.3% 0.167 141.9);
Tailwind
colors: {
custom: {
50: '#75b167',
500: '#2f8f26',
950: '#000000',
},
}SCSS
$custom: #2f8f26; $custom-light: #75b167; $custom-dark: #000000;
JSON
{
"hex": "#2f8f26",
"rgb": {
"r": 47,
"g": 143,
"b": 38
},
"hsl": {
"h": 114.857,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.57269,
"c": 0.16663,
"h": 141.9
},
"luminance": 0.20389
}Semantic roles & 50–950 ramp
primary
#2F8F26
secondary
#B058B9
accent
#47E1D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A