#2F8A2E#2F8A2E
#2F8A2E is a mid, vivid green. Relative luminance 0.190; OKLCH L 56.0% C 0.155 H 143.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8A2E |
|---|---|
| RGB | rgb(47, 138, 46) |
| HSL | hsl(119, 50%, 36%) |
| HSV | hsv(119, 67%, 54%) |
| CMYK | cmyk(65.9%, 0%, 66.7%, 45.9%) |
| CIE-LAB | lab(50.66, -45.50, 40.20) |
| CIE-LCH | lch(50.66, 60.72, 138.54°) |
| OKLab | oklab(55.96% -0.1236 0.0932) |
| OKLCH | oklch(55.96% 0.155 143) |
| XYZ | xyz(10.7533, 18.9775, 5.6806) |
| Luminance | 0.1898 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.66
Emerald Green
#028F1E
ΔE00 3.01
Kelley Green
#009337
ΔE00 3.82
Irish Green
#019529
ΔE00 4.17
Tree Green
#2A7E19
ΔE00 4.67
Fern Green
#548D44
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8A2E #892E8A
analogous
#5D8A2E #2F8A2E #2E8A5B
triadic
#2F8A2E #2E2F8A #8A2E2F
tetradic
#2F8A2E #2E5D8A #892E8A #8A5B2E
square
#2F8A2E #2E5D8A #892E8A #8A5B2E
split-complementary
#2F8A2E #5B2E8A #8A2E5D
monochromatic
#102E0F #1F5C1F #2F8A2E #3FB83D #67CC66
Accessibility & contrast
On white
4.38
#2F8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#2F8A2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8A2E
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8A2E | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#1C8677
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f8a2e; /* rgb */ color: rgb(47, 138, 46); /* oklch */ color: oklch(56.0% 0.155 143.0);
Tailwind
colors: {
custom: {
50: '#74ad6b',
500: '#2f8a2e',
950: '#000000',
},
}SCSS
$custom: #2f8a2e; $custom-light: #74ad6b; $custom-dark: #000000;
JSON
{
"hex": "#2f8a2e",
"rgb": {
"r": 47,
"g": 138,
"b": 46
},
"hsl": {
"h": 119.348,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.55956,
"c": 0.1548,
"h": 143
},
"luminance": 0.18979
}Semantic roles & 50–950 ramp
primary
#2F8A2E
secondary
#B261B3
accent
#4EDAD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A