#2F8B26#2F8B26
#2F8B26 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.2% C 0.162 H 141.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8B26 |
|---|---|
| RGB | rgb(47, 139, 38) |
| HSL | hsl(115, 57%, 35%) |
| HSV | hsv(115, 73%, 55%) |
| CMYK | cmyk(66.2%, 0%, 72.7%, 45.5%) |
| CIE-LAB | lab(50.93, -46.66, 43.90) |
| CIE-LCH | lch(50.93, 64.06, 136.74°) |
| OKLab | oklab(56.16% -0.1272 0.1) |
| OKLCH | oklch(56.16% 0.162 141.8) |
| XYZ | xyz(10.7542, 19.2084, 4.9742) |
| Luminance | 0.1921 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.95
Emerald Green
#028F1E
ΔE00 2.38
Irish Green
#019529
ΔE00 3.82
Kelley Green
#009337
ΔE00 4.17
True Green
#089404
ΔE00 4.20
Tree Green
#2A7E19
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8B26 #82268B
analogous
#628B26 #2F8B26 #268B4F
triadic
#2F8B26 #262F8B #8B262F
tetradic
#2F8B26 #26628B #82268B #8B4F26
square
#2F8B26 #26628B #82268B #8B4F26
split-complementary
#2F8B26 #4F268B #8B2662
monochromatic
#0E2B0C #1F5B19 #2F8B26 #3FBB33 #64D25A
Accessibility & contrast
On white
4.34
#2F8B26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#2F8B26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8B26
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8B26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8B26 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E16
Deuteranopia (green-blind)
#837630
Tritanopia (blue-blind)
#1D8777
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f8b26; /* rgb */ color: rgb(47, 139, 38); /* oklch */ color: oklch(56.2% 0.162 141.8);
Tailwind
colors: {
custom: {
50: '#74ae67',
500: '#2f8b26',
950: '#000000',
},
}SCSS
$custom: #2f8b26; $custom-light: #74ae67; $custom-dark: #000000;
JSON
{
"hex": "#2f8b26",
"rgb": {
"r": 47,
"g": 139,
"b": 38
},
"hsl": {
"h": 114.653,
"s": 57.062,
"l": 34.706
},
"oklch": {
"l": 0.56157,
"c": 0.16177,
"h": 141.8
},
"luminance": 0.1921
}Semantic roles & 50–950 ramp
primary
#2F8B26
secondary
#AE56B7
accent
#47E0D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A