#2C671F#2C671F
#2C671F is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.8% C 0.121 H 140.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2C671F |
|---|---|
| RGB | rgb(44, 103, 31) |
| HSL | hsl(109, 54%, 26%) |
| HSV | hsv(109, 70%, 40%) |
| CMYK | cmyk(57.3%, 0%, 69.9%, 59.6%) |
| CIE-LAB | lab(38.44, -34.06, 33.67) |
| CIE-LCH | lch(38.44, 47.89, 135.33°) |
| OKLab | oklab(45.79% -0.0933 0.0776) |
| OKLCH | oklch(45.79% 0.121 140.3) |
| XYZ | xyz(6.1360, 10.3344, 2.9675) |
| Luminance | 0.1033 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.09
Deep Green
#02590F
ΔE00 5.46
Forest Green
#2D5A27
ΔE00 5.49
Forest
#0B5509
ΔE00 6.29
Pine
#2B5D34
ΔE00 7.16
Darkish Green
#287C37
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C671F #5A1F67
analogous
#50671F #2C671F #1F6736
triadic
#2C671F #1F2C67 #671F2C
tetradic
#2C671F #1F5067 #5A1F67 #67361F
square
#2C671F #1F5067 #5A1F67 #67361F
split-complementary
#2C671F #361F67 #671F50
monochromatic
#0A1807 #183811 #2C671F #40962D #55C43C
Accessibility & contrast
On white
6.85
#2C671F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2C671F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C671F
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C671F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C671F | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E16
Deuteranopia (green-blind)
#625925
Tritanopia (blue-blind)
#256458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2c671f; /* rgb */ color: rgb(44, 103, 31); /* oklch */ color: oklch(45.8% 0.121 140.3);
Tailwind
colors: {
custom: {
50: '#6c935e',
500: '#2c671f',
950: '#000000',
},
}SCSS
$custom: #2c671f; $custom-light: #6c935e; $custom-dark: #000000;
JSON
{
"hex": "#2c671f",
"rgb": {
"r": 44,
"g": 103,
"b": 31
},
"hsl": {
"h": 109.167,
"s": 53.731,
"l": 26.275
},
"oklch": {
"l": 0.45792,
"c": 0.12136,
"h": 140.3
},
"luminance": 0.10335
}Semantic roles & 50–950 ramp
primary
#2C671F
secondary
#8C469B
accent
#4BDDC3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79