#2C751C#2C751C
#2C751C is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.142 H 140.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2C751C |
|---|---|
| RGB | rgb(44, 117, 28) |
| HSL | hsl(109, 61%, 28%) |
| HSV | hsv(109, 76%, 46%) |
| CMYK | cmyk(62.4%, 0%, 76.1%, 54.1%) |
| CIE-LAB | lab(43.27, -39.99, 40.01) |
| CIE-LCH | lch(43.27, 56.57, 134.99°) |
| OKLab | oklab(49.78% -0.1096 0.0905) |
| OKLCH | oklch(49.78% 0.142 140.5) |
| XYZ | xyz(7.6092, 13.3412, 3.2725) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.25
Darkish Green
#287C37
ΔE00 4.76
Green
#008000
ΔE00 4.84
Dark Grass Green
#388004
ΔE00 5.21
Darkgreen
#006400
ΔE00 6.30
Forestgreen (CSS)
#228B22
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C751C #651C75
analogous
#58751C #2C751C #1C7538
triadic
#2C751C #1C2C75 #751C2C
tetradic
#2C751C #1C5875 #651C75 #75381C
square
#2C751C #1C5875 #651C75 #75381C
split-complementary
#2C751C #381C75 #751C58
monochromatic
#091906 #194410 #2C751C #3FA628 #56D03B
Accessibility & contrast
On white
5.72
#2C751C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#2C751C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C751C
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C751C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C751C | 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)
#786A0C
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#227164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2c751c; /* rgb */ color: rgb(44, 117, 28); /* oklch */ color: oklch(49.8% 0.142 140.5);
Tailwind
colors: {
custom: {
50: '#6f9d5e',
500: '#2c751c',
950: '#000000',
},
}SCSS
$custom: #2c751c; $custom-light: #6f9d5e; $custom-dark: #000000;
JSON
{
"hex": "#2c751c",
"rgb": {
"r": 44,
"g": 117,
"b": 28
},
"hsl": {
"h": 109.213,
"s": 61.379,
"l": 28.431
},
"oklch": {
"l": 0.49775,
"c": 0.14209,
"h": 140.5
},
"luminance": 0.13342
}Semantic roles & 50–950 ramp
primary
#2C751C
secondary
#9744A9
accent
#43E4C8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79