#2C701F#2C701F
#2C701F is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.134 H 140.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2C701F |
|---|---|
| RGB | rgb(44, 112, 31) |
| HSL | hsl(110, 57%, 28%) |
| HSV | hsv(110, 72%, 44%) |
| CMYK | cmyk(60.7%, 0%, 72.3%, 56.1%) |
| CIE-LAB | lab(41.57, -37.76, 37.01) |
| CIE-LCH | lch(41.57, 52.87, 135.57°) |
| OKLab | oklab(48.37% -0.1033 0.0846) |
| OKLCH | oklch(48.37% 0.134 140.7) |
| XYZ | xyz(7.0799, 12.2221, 3.2821) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.10
Tree Green
#2A7E19
ΔE00 5.14
Darkish Green
#287C37
ΔE00 5.26
Green
#008000
ΔE00 6.61
Dark Grass Green
#388004
ΔE00 7.01
Deep Green
#02590F
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C701F #631F70
analogous
#54701F #2C701F #1F703A
triadic
#2C701F #1F2C70 #701F2C
tetradic
#2C701F #1F5470 #631F70 #703A1F
square
#2C701F #1F5470 #631F70 #703A1F
split-complementary
#2C701F #3A1F70 #701F54
monochromatic
#091807 #194012 #2C701F #3FA02C #56CA3F
Accessibility & contrast
On white
6.10
#2C701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#2C701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C701F
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C701F | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736613
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#236C60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2c701f; /* rgb */ color: rgb(44, 112, 31); /* oklch */ color: oklch(48.4% 0.134 140.7);
Tailwind
colors: {
custom: {
50: '#6e9a5f',
500: '#2c701f',
950: '#000000',
},
}SCSS
$custom: #2c701f; $custom-light: #6e9a5f; $custom-dark: #000000;
JSON
{
"hex": "#2c701f",
"rgb": {
"r": 44,
"g": 112,
"b": 31
},
"hsl": {
"h": 110.37,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48373,
"c": 0.13355,
"h": 140.7
},
"luminance": 0.12223
}Semantic roles & 50–950 ramp
primary
#2C701F
secondary
#9547A4
accent
#48E0C8
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79