#2F8B2E#2F8B2E
#2F8B2E is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.2% C 0.156 H 143.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8B2E |
|---|---|
| RGB | rgb(47, 139, 46) |
| HSL | hsl(119, 50%, 36%) |
| HSV | hsv(119, 67%, 55%) |
| CMYK | cmyk(66.2%, 0%, 66.9%, 45.5%) |
| CIE-LAB | lab(51.00, -45.88, 40.57) |
| CIE-LCH | lch(51.00, 61.24, 138.51°) |
| OKLab | oklab(56.23% -0.1246 0.0939) |
| OKLCH | oklch(56.23% 0.156 143) |
| XYZ | xyz(10.8974, 19.2657, 5.7286) |
| Luminance | 0.1927 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.57
Emerald Green
#028F1E
ΔE00 2.79
Kelley Green
#009337
ΔE00 3.58
Irish Green
#019529
ΔE00 3.85
True Green
#089404
ΔE00 4.95
Fern Green
#548D44
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8B2E #8A2E8B
analogous
#5E8B2E #2F8B2E #2E8B5C
triadic
#2F8B2E #2E2F8B #8B2E2F
tetradic
#2F8B2E #2E5E8B #8A2E8B #8B5C2E
square
#2F8B2E #2E5E8B #8A2E8B #8B5C2E
split-complementary
#2F8B2E #5C2E8B #8B2E5E
monochromatic
#102F10 #1F5D1F #2F8B2E #3FB93D #68CD67
Accessibility & contrast
On white
4.33
#2F8B2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#2F8B2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8B2E
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8B2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8B2E | 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)
#8E7E22
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#1B8778
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f8b2e; /* rgb */ color: rgb(47, 139, 46); /* oklch */ color: oklch(56.2% 0.156 143.0);
Tailwind
colors: {
custom: {
50: '#74ae6b',
500: '#2f8b2e',
950: '#000000',
},
}SCSS
$custom: #2f8b2e; $custom-light: #74ae6b; $custom-dark: #000000;
JSON
{
"hex": "#2f8b2e",
"rgb": {
"r": 47,
"g": 139,
"b": 46
},
"hsl": {
"h": 119.355,
"s": 50.27,
"l": 36.275
},
"oklch": {
"l": 0.56234,
"c": 0.15607,
"h": 143
},
"luminance": 0.19267
}Semantic roles & 50–950 ramp
primary
#2F8B2E
secondary
#B361B3
accent
#4EDAD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A