#2F8B2D#2F8B2D
#2F8B2D is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.157 H 142.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8B2D |
|---|---|
| RGB | rgb(47, 139, 45) |
| HSL | hsl(119, 51%, 36%) |
| HSV | hsv(119, 68%, 55%) |
| CMYK | cmyk(66.2%, 0%, 67.6%, 45.5%) |
| CIE-LAB | lab(50.99, -45.98, 41.00) |
| CIE-LCH | lch(50.99, 61.61, 138.28°) |
| OKLab | oklab(56.22% -0.125 0.0947) |
| OKLCH | oklch(56.22% 0.157 142.8) |
| XYZ | xyz(10.8779, 19.2579, 5.6260) |
| Luminance | 0.1926 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.45
Emerald Green
#028F1E
ΔE00 2.72
Kelley Green
#009337
ΔE00 3.64
Irish Green
#019529
ΔE00 3.83
True Green
#089404
ΔE00 4.84
Tree Green
#2A7E19
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8B2D #892D8B
analogous
#5E8B2D #2F8B2D #2D8B5A
triadic
#2F8B2D #2D2F8B #8B2D2F
tetradic
#2F8B2D #2D5E8B #892D8B #8B5A2D
square
#2F8B2D #2D5E8B #892D8B #8B5A2D
split-complementary
#2F8B2D #5A2D8B #8B2D5E
monochromatic
#102F0F #1F5D1E #2F8B2D #3FB93C #67CD65
Accessibility & contrast
On white
4.33
#2F8B2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#2F8B2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8B2D
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8B2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8B2D | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E21
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#1B8778
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f8b2d; /* rgb */ color: rgb(47, 139, 45); /* oklch */ color: oklch(56.2% 0.157 142.8);
Tailwind
colors: {
custom: {
50: '#74ae6a',
500: '#2f8b2d',
950: '#000000',
},
}SCSS
$custom: #2f8b2d; $custom-light: #74ae6a; $custom-dark: #000000;
JSON
{
"hex": "#2f8b2d",
"rgb": {
"r": 47,
"g": 139,
"b": 45
},
"hsl": {
"h": 118.723,
"s": 51.087,
"l": 36.078
},
"oklch": {
"l": 0.56223,
"c": 0.15682,
"h": 142.8
},
"luminance": 0.19259
}Semantic roles & 50–950 ramp
primary
#2F8B2D
secondary
#B260B4
accent
#4DDBD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A