#2C7F13#2C7F13
#2C7F13 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.159 H 140.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7F13 |
|---|---|
| RGB | rgb(44, 127, 19) |
| HSL | hsl(106, 74%, 29%) |
| HSV | hsv(106, 85%, 50%) |
| CMYK | cmyk(65.4%, 0%, 85%, 50.2%) |
| CIE-LAB | lab(46.66, -44.35, 46.33) |
| CIE-LCH | lch(46.66, 64.14, 133.75°) |
| OKLab | oklab(52.56% -0.1218 0.1023) |
| OKLCH | oklch(52.56% 0.159 140) |
| XYZ | xyz(8.7452, 15.7604, 3.1972) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.85
Dark Grass Green
#388004
ΔE00 2.11
Green
#008000
ΔE00 2.25
Forestgreen (CSS)
#228B22
ΔE00 4.44
Darkish Green
#287C37
ΔE00 5.85
Emerald Green
#028F1E
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7F13 #66137F
analogous
#627F13 #2C7F13 #137F30
triadic
#2C7F13 #132C7F #7F132C
tetradic
#2C7F13 #13627F #66137F #7F3013
square
#2C7F13 #13627F #66137F #7F3013
split-complementary
#2C7F13 #30137F #7F1362
monochromatic
#091B04 #1A4A0B #2C7F13 #3EB41B #56E02D
Accessibility & contrast
On white
5.06
#2C7F13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#2C7F13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7F13
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7F13 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#207B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c7f13; /* rgb */ color: rgb(44, 127, 19); /* oklch */ color: oklch(52.6% 0.159 140.0);
Tailwind
colors: {
custom: {
50: '#71a55c',
500: '#2c7f13',
950: '#000000',
},
}SCSS
$custom: #2c7f13; $custom-light: #71a55c; $custom-dark: #000000;
JSON
{
"hex": "#2c7f13",
"rgb": {
"r": 44,
"g": 127,
"b": 19
},
"hsl": {
"h": 106.111,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.52559,
"c": 0.15908,
"h": 140
},
"luminance": 0.15761
}Semantic roles & 50–950 ramp
primary
#2C7F13
secondary
#9839B4
accent
#37F1C6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79