#2C812F#2C812F
#2C812F is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.144 H 143.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2C812F |
|---|---|
| RGB | rgb(44, 129, 47) |
| HSL | hsl(122, 49%, 34%) |
| HSV | hsv(122, 66%, 51%) |
| CMYK | cmyk(65.9%, 0%, 63.6%, 49.4%) |
| CIE-LAB | lab(47.55, -42.67, 36.23) |
| CIE-LCH | lch(47.55, 55.98, 139.66°) |
| OKLab | oklab(53.36% -0.1157 0.0848) |
| OKLCH | oklch(53.36% 0.144 143.8) |
| XYZ | xyz(9.4015, 16.4403, 5.3666) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.82
Tree Green
#2A7E19
ΔE00 3.04
Forestgreen (CSS)
#228B22
ΔE00 4.31
Green
#008000
ΔE00 4.63
Jungle Green
#048243
ΔE00 4.91
Dark Grass Green
#388004
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C812F #812C7E
analogous
#54812C #2C812F #2C815A
triadic
#2C812F #2F2C81 #812F2C
tetradic
#2C812F #2C5481 #812C7E #815A2C
square
#2C812F #2C5481 #812C7E #815A2C
split-complementary
#2C812F #5A2C81 #812C54
monochromatic
#0D260E #1C531E #2C812F #3CAF40 #5FC863
Accessibility & contrast
On white
4.90
#2C812F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#2C812F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C812F
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C812F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C812F | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847526
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#197D70
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #2c812f; /* rgb */ color: rgb(44, 129, 47); /* oklch */ color: oklch(53.4% 0.144 143.8);
Tailwind
colors: {
custom: {
50: '#70a66b',
500: '#2c812f',
950: '#000000',
},
}SCSS
$custom: #2c812f; $custom-light: #70a66b; $custom-dark: #000000;
JSON
{
"hex": "#2c812f",
"rgb": {
"r": 44,
"g": 129,
"b": 47
},
"hsl": {
"h": 122.118,
"s": 49.133,
"l": 33.922
},
"oklch": {
"l": 0.53361,
"c": 0.14351,
"h": 143.8
},
"luminance": 0.16441
}Semantic roles & 50–950 ramp
primary
#2C812F
secondary
#AF5AAC
accent
#4FD4D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A