#2C831C#2C831C
#2C831C is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.159 H 140.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2C831C |
|---|---|
| RGB | rgb(44, 131, 28) |
| HSL | hsl(111, 65%, 31%) |
| HSV | hsv(111, 79%, 51%) |
| CMYK | cmyk(66.4%, 0%, 78.6%, 48.6%) |
| CIE-LAB | lab(48.07, -45.24, 44.78) |
| CIE-LCH | lch(48.07, 63.66, 135.29°) |
| OKLab | oklab(53.75% -0.1237 0.1004) |
| OKLCH | oklch(53.75% 0.159 140.9) |
| XYZ | xyz(9.3641, 16.8510, 3.8575) |
| Luminance | 0.1685 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.78
Green
#008000
ΔE00 2.73
Dark Grass Green
#388004
ΔE00 2.86
Forestgreen (CSS)
#228B22
ΔE00 2.92
Emerald Green
#028F1E
ΔE00 4.47
Darkish Green
#287C37
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C831C #731C83
analogous
#5F831C #2C831C #1C833F
triadic
#2C831C #1C2C83 #831C2C
tetradic
#2C831C #1C5F83 #731C83 #833F1C
square
#2C831C #1C5F83 #731C83 #833F1C
split-complementary
#2C831C #3F1C83 #831C5F
monochromatic
#0A1E06 #1B5111 #2C831C #3DB527 #5AD743
Accessibility & contrast
On white
4.81
#2C831C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#2C831C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C831C
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C831C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C831C | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877604
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#1D7F70
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #2c831c; /* rgb */ color: rgb(44, 131, 28); /* oklch */ color: oklch(53.7% 0.159 140.9);
Tailwind
colors: {
custom: {
50: '#72a860',
500: '#2c831c',
950: '#000000',
},
}SCSS
$custom: #2c831c; $custom-light: #72a860; $custom-dark: #000000;
JSON
{
"hex": "#2c831c",
"rgb": {
"r": 44,
"g": 131,
"b": 28
},
"hsl": {
"h": 110.68,
"s": 64.78,
"l": 31.176
},
"oklch": {
"l": 0.53745,
"c": 0.15936,
"h": 140.9
},
"luminance": 0.16852
}Semantic roles & 50–950 ramp
primary
#2C831C
secondary
#A545B6
accent
#40E8CE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79