#2C671B#2C671B
#2C671B is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.8% C 0.124 H 139.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2C671B |
|---|---|
| RGB | rgb(44, 103, 27) |
| HSL | hsl(107, 58%, 25%) |
| HSV | hsv(107, 74%, 40%) |
| CMYK | cmyk(57.3%, 0%, 73.8%, 59.6%) |
| CIE-LAB | lab(38.40, -34.45, 35.42) |
| CIE-LCH | lch(38.40, 49.41, 134.20°) |
| OKLab | oklab(45.75% -0.0947 0.0807) |
| OKLCH | oklch(45.75% 0.124 139.6) |
| XYZ | xyz(6.0865, 10.3146, 2.7069) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.74
Deep Green
#02590F
ΔE00 5.53
Forest Green
#2D5A27
ΔE00 5.91
Forest
#0B5509
ΔE00 6.28
Camouflage Green
#4B6113
ΔE00 7.52
Navy Green
#35530A
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C671B #561B67
analogous
#52671B #2C671B #1B6730
triadic
#2C671B #1B2C67 #671B2C
tetradic
#2C671B #1B5267 #561B67 #67301B
square
#2C671B #1B5267 #561B67 #67301B
split-complementary
#2C671B #301B67 #671B52
monochromatic
#0A1806 #17370E #2C671B #419728 #55C834
Accessibility & contrast
On white
6.86
#2C671B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2C671B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C671B
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C671B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C671B | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D0F
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#266358
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2c671b; /* rgb */ color: rgb(44, 103, 27); /* oklch */ color: oklch(45.8% 0.124 139.6);
Tailwind
colors: {
custom: {
50: '#6c935c',
500: '#2c671b',
950: '#000000',
},
}SCSS
$custom: #2c671b; $custom-light: #6c935c; $custom-dark: #000000;
JSON
{
"hex": "#2c671b",
"rgb": {
"r": 44,
"g": 103,
"b": 27
},
"hsl": {
"h": 106.579,
"s": 58.462,
"l": 25.49
},
"oklch": {
"l": 0.45752,
"c": 0.1244,
"h": 139.6
},
"luminance": 0.10315
}Semantic roles & 50–950 ramp
primary
#2C671B
secondary
#88429C
accent
#46E2BF
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79