#2C7E2B#2C7E2B
#2C7E2B is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.143 H 143.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7E2B |
|---|---|
| RGB | rgb(44, 126, 43) |
| HSL | hsl(119, 49%, 33%) |
| HSV | hsv(119, 66%, 49%) |
| CMYK | cmyk(65.1%, 0%, 65.9%, 50.6%) |
| CIE-LAB | lab(46.49, -41.99, 36.93) |
| CIE-LCH | lch(46.49, 55.92, 138.67°) |
| OKLab | oklab(52.47% -0.1141 0.0859) |
| OKLCH | oklch(52.47% 0.143 143) |
| XYZ | xyz(8.9351, 15.6307, 4.8312) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.46
Darkish Green
#287C37
ΔE00 2.67
Green
#008000
ΔE00 4.31
Dark Grass Green
#388004
ΔE00 5.04
Forestgreen (CSS)
#228B22
ΔE00 5.04
Jungle Green
#048243
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7E2B #7D2B7E
analogous
#557E2B #2C7E2B #2B7E53
triadic
#2C7E2B #2B2C7E #7E2B2C
tetradic
#2C7E2B #2B557E #7D2B7E #7E532B
square
#2C7E2B #2B557E #7D2B7E #7E532B
split-complementary
#2C7E2B #532B7E #7E2B55
monochromatic
#0C230C #1C501B #2C7E2B #3CAC3B #5DC75C
Accessibility & contrast
On white
5.09
#2C7E2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#2C7E2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7E2B
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7E2B | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817221
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#1C7A6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2c7e2b; /* rgb */ color: rgb(44, 126, 43); /* oklch */ color: oklch(52.5% 0.143 143.0);
Tailwind
colors: {
custom: {
50: '#70a468',
500: '#2c7e2b',
950: '#000000',
},
}SCSS
$custom: #2c7e2b; $custom-light: #70a468; $custom-dark: #000000;
JSON
{
"hex": "#2c7e2b",
"rgb": {
"r": 44,
"g": 126,
"b": 43
},
"hsl": {
"h": 119.277,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.52471,
"c": 0.14281,
"h": 143
},
"luminance": 0.15632
}Semantic roles & 50–950 ramp
primary
#2C7E2B
secondary
#AC58AD
accent
#4FD9D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A