#2F802C#2F802C
#2F802C is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.143 H 142.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F802C |
|---|---|
| RGB | rgb(47, 128, 44) |
| HSL | hsl(118, 49%, 34%) |
| HSV | hsv(118, 66%, 50%) |
| CMYK | cmyk(63.3%, 0%, 65.6%, 49.8%) |
| CIE-LAB | lab(47.27, -41.92, 37.36) |
| CIE-LCH | lch(47.27, 56.15, 138.30°) |
| OKLab | oklab(53.15% -0.114 0.0869) |
| OKLCH | oklch(53.15% 0.143 142.7) |
| XYZ | xyz(9.3456, 16.2236, 5.0214) |
| Luminance | 0.1623 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.47
Darkish Green
#287C37
ΔE00 3.10
Green
#008000
ΔE00 4.31
Forestgreen (CSS)
#228B22
ΔE00 4.39
Dark Grass Green
#388004
ΔE00 4.79
Jungle Green
#048243
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F802C #7D2C80
analogous
#59802C #2F802C #2C8053
triadic
#2F802C #2C2F80 #802C2F
tetradic
#2F802C #2C5980 #7D2C80 #80532C
square
#2F802C #2C5980 #7D2C80 #80532C
split-complementary
#2F802C #532C80 #802C59
monochromatic
#0E250D #1E521C #2F802C #40AE3C #62C85F
Accessibility & contrast
On white
4.95
#2F802C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#2F802C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F802C
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F802C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F802C | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837422
Deuteranopia (green-blind)
#796D33
Tritanopia (blue-blind)
#207C6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2f802c; /* rgb */ color: rgb(47, 128, 44); /* oklch */ color: oklch(53.1% 0.143 142.7);
Tailwind
colors: {
custom: {
50: '#72a669',
500: '#2f802c',
950: '#000000',
},
}SCSS
$custom: #2f802c; $custom-light: #72a669; $custom-dark: #000000;
JSON
{
"hex": "#2f802c",
"rgb": {
"r": 47,
"g": 128,
"b": 44
},
"hsl": {
"h": 117.857,
"s": 48.837,
"l": 33.725
},
"oklch": {
"l": 0.53145,
"c": 0.14338,
"h": 142.7
},
"luminance": 0.16225
}Semantic roles & 50–950 ramp
primary
#2F802C
secondary
#AB5AAE
accent
#4FD8D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A