#2C581F#2C581F
#2C581F is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.5% C 0.100 H 139.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2C581F |
|---|---|
| RGB | rgb(44, 88, 31) |
| HSL | hsl(106, 48%, 23%) |
| HSV | hsv(106, 65%, 35%) |
| CMYK | cmyk(50%, 0%, 64.8%, 65.5%) |
| CIE-LAB | lab(33.16, -27.41, 27.82) |
| CIE-LCH | lch(33.16, 39.06, 134.58°) |
| OKLab | oklab(41.46% -0.0753 0.0651) |
| OKLCH | oklch(41.46% 0.1 139.1) |
| XYZ | xyz(4.7756, 7.6135, 2.5140) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.66
Forest
#0B5509
ΔE00 4.26
Deep Green
#02590F
ΔE00 4.49
Pine
#2B5D34
ΔE00 4.86
Navy Green
#35530A
ΔE00 4.86
Bottle Green
#044A05
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C581F #4B1F58
analogous
#48581F #2C581F #1F582E
triadic
#2C581F #1F2C58 #581F2C
tetradic
#2C581F #1F4858 #4B1F58 #582E1F
square
#2C581F #1F4858 #4B1F58 #582E1F
split-complementary
#2C581F #2E1F58 #581F48
monochromatic
#0B1708 #152B0F #2C581F #43852F #59B33F
Accessibility & contrast
On white
8.32
#2C581F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2C581F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C581F
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C581F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C581F | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5019
Deuteranopia (green-blind)
#554D23
Tritanopia (blue-blind)
#28554C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2c581f; /* rgb */ color: rgb(44, 88, 31); /* oklch */ color: oklch(41.5% 0.100 139.1);
Tailwind
colors: {
custom: {
50: '#69875d',
500: '#2c581f',
950: '#000000',
},
}SCSS
$custom: #2c581f; $custom-light: #69875d; $custom-dark: #000000;
JSON
{
"hex": "#2c581f",
"rgb": {
"r": 44,
"g": 88,
"b": 31
},
"hsl": {
"h": 106.316,
"s": 47.899,
"l": 23.333
},
"oklch": {
"l": 0.41459,
"c": 0.09957,
"h": 139.1
},
"luminance": 0.07614
}Semantic roles & 50–950 ramp
primary
#2C581F
secondary
#7D468D
accent
#50D7B9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79