#2D8F26#2D8F26
#2D8F26 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.167 H 142.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2D8F26 |
|---|---|
| RGB | rgb(45, 143, 38) |
| HSL | hsl(116, 58%, 35%) |
| HSV | hsv(116, 73%, 56%) |
| CMYK | cmyk(68.5%, 0%, 73.4%, 43.9%) |
| CIE-LAB | lab(52.22, -48.53, 45.22) |
| CIE-LCH | lch(52.22, 66.33, 137.03°) |
| OKLab | oklab(57.21% -0.1322 0.1027) |
| OKLCH | oklch(57.21% 0.167 142.1) |
| XYZ | xyz(11.2539, 20.3416, 5.1666) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.67
Emerald Green
#028F1E
ΔE00 1.86
Irish Green
#019529
ΔE00 2.65
True Green
#089404
ΔE00 3.16
Kelley Green
#009337
ΔE00 3.54
Grass Green
#3F9B0B
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D8F26 #88268F
analogous
#618F26 #2D8F26 #268F53
triadic
#2D8F26 #262D8F #8F262D
tetradic
#2D8F26 #26618F #88268F #8F5326
square
#2D8F26 #26618F #88268F #8F5326
split-complementary
#2D8F26 #53268F #8F2661
monochromatic
#0F2E0C #1E5F19 #2D8F26 #3CBF33 #64D45C
Accessibility & contrast
On white
4.14
#2D8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#2D8F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D8F26
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D8F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D8F26 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928114
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#178B7A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2d8f26; /* rgb */ color: rgb(45, 143, 38); /* oklch */ color: oklch(57.2% 0.167 142.1);
Tailwind
colors: {
custom: {
50: '#74b167',
500: '#2d8f26',
950: '#000000',
},
}SCSS
$custom: #2d8f26; $custom-light: #74b167; $custom-dark: #000000;
JSON
{
"hex": "#2d8f26",
"rgb": {
"r": 45,
"g": 143,
"b": 38
},
"hsl": {
"h": 116,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.57211,
"c": 0.16738,
"h": 142.1
},
"luminance": 0.20343
}Semantic roles & 50–950 ramp
primary
#2D8F26
secondary
#B258B9
accent
#47E1D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A