#2C751F#2C751F
#2C751F is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.140 H 140.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2C751F |
|---|---|
| RGB | rgb(44, 117, 31) |
| HSL | hsl(111, 58%, 29%) |
| HSV | hsv(111, 74%, 46%) |
| CMYK | cmyk(62.4%, 0%, 73.5%, 54.1%) |
| CIE-LAB | lab(43.30, -39.73, 38.82) |
| CIE-LCH | lch(43.30, 55.55, 135.67°) |
| OKLab | oklab(49.8% -0.1087 0.0884) |
| OKLCH | oklch(49.8% 0.14 140.9) |
| XYZ | xyz(7.6469, 13.3563, 3.4711) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.40
Darkish Green
#287C37
ΔE00 4.40
Green
#008000
ΔE00 5.05
Dark Grass Green
#388004
ΔE00 5.49
Darkgreen
#006400
ΔE00 6.36
Jungle Green
#048243
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C751F #681F75
analogous
#57751F #2C751F #1F753D
triadic
#2C751F #1F2C75 #751F2C
tetradic
#2C751F #1F5775 #681F75 #753D1F
square
#2C751F #1F5775 #681F75 #753D1F
split-complementary
#2C751F #3D1F75 #751F57
monochromatic
#091806 #1A4512 #2C751F #3EA52C #57CD42
Accessibility & contrast
On white
5.72
#2C751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#2C751F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C751F
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C751F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C751F | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#217164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2c751f; /* rgb */ color: rgb(44, 117, 31); /* oklch */ color: oklch(49.8% 0.140 140.9);
Tailwind
colors: {
custom: {
50: '#6f9d60',
500: '#2c751f',
950: '#000000',
},
}SCSS
$custom: #2c751f; $custom-light: #6f9d60; $custom-dark: #000000;
JSON
{
"hex": "#2c751f",
"rgb": {
"r": 44,
"g": 117,
"b": 31
},
"hsl": {
"h": 110.93,
"s": 58.108,
"l": 29.02
},
"oklch": {
"l": 0.498,
"c": 0.14009,
"h": 140.9
},
"luminance": 0.13357
}Semantic roles & 50–950 ramp
primary
#2C751F
secondary
#9A47A9
accent
#46E1CA
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79