#2C571A#2C571A
#2C571A is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.1% C 0.103 H 137.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2C571A |
|---|---|
| RGB | rgb(44, 87, 26) |
| HSL | hsl(102, 54%, 22%) |
| HSV | hsv(102, 70%, 34%) |
| CMYK | cmyk(49.4%, 0%, 70.1%, 65.9%) |
| CIE-LAB | lab(32.76, -27.51, 29.87) |
| CIE-LCH | lch(32.76, 40.61, 132.65°) |
| OKLab | oklab(41.11% -0.0759 0.0689) |
| OKLCH | oklch(41.11% 0.103 137.8) |
| XYZ | xyz(4.6332, 7.4261, 2.1663) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.64
Forest
#0B5509
ΔE00 3.91
Navy Green
#35530A
ΔE00 4.00
Deep Green
#02590F
ΔE00 4.39
Bottle Green
#044A05
ΔE00 5.50
Darkgreen (survey)
#054907
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C571A #451A57
analogous
#4B571A #2C571A #1A5727
triadic
#2C571A #1A2C57 #571A2C
tetradic
#2C571A #1A4B57 #451A57 #57271A
square
#2C571A #1A4B57 #451A57 #57271A
split-complementary
#2C571A #271A57 #571A4B
monochromatic
#0C1807 #14280C #2C571A #448628 #5CB536
Accessibility & contrast
On white
8.45
#2C571A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2C571A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C571A
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C571A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C571A | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A4F12
Deuteranopia (green-blind)
#544C1F
Tritanopia (blue-blind)
#29544A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2c571a; /* rgb */ color: rgb(44, 87, 26); /* oklch */ color: oklch(41.1% 0.103 137.8);
Tailwind
colors: {
custom: {
50: '#69875a',
500: '#2c571a',
950: '#000000',
},
}SCSS
$custom: #2c571a; $custom-light: #69875a; $custom-dark: #000000;
JSON
{
"hex": "#2c571a",
"rgb": {
"r": 44,
"g": 87,
"b": 26
},
"hsl": {
"h": 102.295,
"s": 53.982,
"l": 22.157
},
"oklch": {
"l": 0.41109,
"c": 0.10255,
"h": 137.8
},
"luminance": 0.07426
}Semantic roles & 50–950 ramp
primary
#2C571A
secondary
#76408D
accent
#4ADDB2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79