#2C7850#2C7850
#2C7850 is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.4% C 0.099 H 157.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7850 |
|---|---|
| RGB | rgb(44, 120, 80) |
| HSL | hsl(148, 46%, 32%) |
| HSV | hsv(148, 63%, 47%) |
| CMYK | cmyk(63.3%, 0%, 33.3%, 52.9%) |
| CIE-LAB | lab(45.01, -33.37, 15.22) |
| CIE-LCH | lch(45.01, 36.68, 155.48°) |
| OKLab | oklab(51.43% -0.0908 0.0385) |
| OKLCH | oklch(51.43% 0.099 157) |
| XYZ | xyz(9.2023, 14.5467, 9.9107) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Sea Green
#11875D
ΔE00 5.65
Jungle Green
#048243
ΔE00 6.04
Darkish Green
#287C37
ΔE00 6.74
Sea Green
#2E8B57
ΔE00 7.09
Dark Sage
#598556
ΔE00 8.36
Spruce
#0A5F38
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7850 #782C54
analogous
#2E782C #2C7850 #2C7876
triadic
#2C7850 #502C78 #78502C
tetradic
#2C7850 #2C2E78 #782C54 #78762C
square
#2C7850 #2C2E78 #782C54 #78762C
split-complementary
#2C7850 #762C78 #782C2E
monochromatic
#0B1E14 #1C4B32 #2C7850 #3CA56E #5BC38C
Accessibility & contrast
On white
5.37
#2C7850 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#2C7850 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7850
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7850 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7850 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776F4E
Deuteranopia (green-blind)
#6D6853
Tritanopia (blue-blind)
#09776D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2c7850; /* rgb */ color: rgb(44, 120, 80); /* oklch */ color: oklch(51.4% 0.099 157.0);
Tailwind
colors: {
custom: {
50: '#6e9f81',
500: '#2c7850',
950: '#000000',
},
}SCSS
$custom: #2c7850; $custom-light: #6e9f81; $custom-dark: #000000;
JSON
{
"hex": "#2c7850",
"rgb": {
"r": 44,
"g": 120,
"b": 80
},
"hsl": {
"h": 148.421,
"s": 46.341,
"l": 32.157
},
"oklch": {
"l": 0.51434,
"c": 0.09864,
"h": 157
},
"luminance": 0.14548
}Semantic roles & 50–950 ramp
primary
#2C7850
secondary
#A95782
accent
#5297D6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C