#2F822E#2F822E
#2F822E is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.144 H 143.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2F822E |
|---|---|
| RGB | rgb(47, 130, 46) |
| HSL | hsl(119, 48%, 35%) |
| HSV | hsv(119, 65%, 51%) |
| CMYK | cmyk(63.8%, 0%, 64.6%, 49%) |
| CIE-LAB | lab(47.96, -42.47, 37.20) |
| CIE-LCH | lch(47.96, 56.46, 138.78°) |
| OKLab | oklab(53.73% -0.1154 0.0868) |
| OKLCH | oklch(53.73% 0.144 143.1) |
| XYZ | xyz(9.6475, 16.7659, 5.3120) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.89
Darkish Green
#287C37
ΔE00 3.38
Forestgreen (CSS)
#228B22
ΔE00 3.86
Green
#008000
ΔE00 4.51
Dark Grass Green
#388004
ΔE00 4.98
Jungle Green
#048243
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F822E #812E82
analogous
#59822E #2F822E #2E8257
triadic
#2F822E #2E2F82 #822E2F
tetradic
#2F822E #2E5982 #812E82 #82572E
square
#2F822E #2E5982 #812E82 #82572E
split-complementary
#2F822E #572E82 #822E59
monochromatic
#0E280E #1F551E #2F822E #3FAF3E #64C863
Accessibility & contrast
On white
4.82
#2F822E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#2F822E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F822E
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F822E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F822E | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857624
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#1F7E70
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #2f822e; /* rgb */ color: rgb(47, 130, 46); /* oklch */ color: oklch(53.7% 0.144 143.1);
Tailwind
colors: {
custom: {
50: '#72a76a',
500: '#2f822e',
950: '#000000',
},
}SCSS
$custom: #2f822e; $custom-light: #72a76a; $custom-dark: #000000;
JSON
{
"hex": "#2f822e",
"rgb": {
"r": 47,
"g": 130,
"b": 46
},
"hsl": {
"h": 119.286,
"s": 47.727,
"l": 34.51
},
"oklch": {
"l": 0.53727,
"c": 0.1444,
"h": 143.1
},
"luminance": 0.16767
}Semantic roles & 50–950 ramp
primary
#2F822E
secondary
#AD5DAE
accent
#50D7D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A