#2D831F#2D831F
#2D831F is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.8% C 0.157 H 141.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2D831F |
|---|---|
| RGB | rgb(45, 131, 31) |
| HSL | hsl(112, 62%, 32%) |
| HSV | hsv(112, 76%, 51%) |
| CMYK | cmyk(65.6%, 0%, 76.3%, 48.6%) |
| CIE-LAB | lab(48.12, -44.78, 43.74) |
| CIE-LCH | lch(48.12, 62.60, 135.67°) |
| OKLab | oklab(53.8% -0.1224 0.0987) |
| OKLCH | oklch(53.8% 0.157 141.1) |
| XYZ | xyz(9.4453, 16.8885, 4.0581) |
| Luminance | 0.1689 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.82
Forestgreen (CSS)
#228B22
ΔE00 2.90
Green
#008000
ΔE00 2.95
Dark Grass Green
#388004
ΔE00 3.09
Emerald Green
#028F1E
ΔE00 4.50
Darkish Green
#287C37
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D831F #751F83
analogous
#5F831F #2D831F #1F8343
triadic
#2D831F #1F2D83 #831F2D
tetradic
#2D831F #1F5F83 #751F83 #83431F
square
#2D831F #1F5F83 #751F83 #83431F
split-complementary
#2D831F #431F83 #831F5F
monochromatic
#0B2008 #1C5213 #2D831F #3EB42B #5CD449
Accessibility & contrast
On white
4.80
#2D831F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#2D831F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D831F
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D831F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D831F | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86770B
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#1E7F70
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #2d831f; /* rgb */ color: rgb(45, 131, 31); /* oklch */ color: oklch(53.8% 0.157 141.1);
Tailwind
colors: {
custom: {
50: '#72a862',
500: '#2d831f',
950: '#000000',
},
}SCSS
$custom: #2d831f; $custom-light: #72a862; $custom-dark: #000000;
JSON
{
"hex": "#2d831f",
"rgb": {
"r": 45,
"g": 131,
"b": 31
},
"hsl": {
"h": 111.6,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.53799,
"c": 0.15722,
"h": 141.1
},
"luminance": 0.16889
}Semantic roles & 50–950 ramp
primary
#2D831F
secondary
#A648B6
accent
#43E5CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A