#2D751C#2D751C
#2D751C is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.142 H 140.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2D751C |
|---|---|
| RGB | rgb(45, 117, 28) |
| HSL | hsl(109, 61%, 28%) |
| HSV | hsv(109, 76%, 46%) |
| CMYK | cmyk(61.5%, 0%, 76.1%, 54.1%) |
| CIE-LAB | lab(43.31, -39.72, 40.06) |
| CIE-LCH | lch(43.31, 56.41, 134.76°) |
| OKLab | oklab(49.81% -0.1089 0.0905) |
| OKLCH | oklch(49.81% 0.142 140.3) |
| XYZ | xyz(7.6527, 13.3636, 3.2745) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.25
Darkish Green
#287C37
ΔE00 4.80
Green
#008000
ΔE00 4.87
Dark Grass Green
#388004
ΔE00 5.16
Darkgreen
#006400
ΔE00 6.34
Forestgreen (CSS)
#228B22
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D751C #641C75
analogous
#59751C #2D751C #1C7537
triadic
#2D751C #1C2D75 #751C2D
tetradic
#2D751C #1C5975 #641C75 #75371C
square
#2D751C #1C5975 #641C75 #75371C
split-complementary
#2D751C #371C75 #751C59
monochromatic
#091906 #1A4410 #2D751C #40A628 #58D03B
Accessibility & contrast
On white
5.72
#2D751C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#2D751C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D751C
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D751C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D751C | 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)
#237164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2d751c; /* rgb */ color: rgb(45, 117, 28); /* oklch */ color: oklch(49.8% 0.142 140.3);
Tailwind
colors: {
custom: {
50: '#6f9d5e',
500: '#2d751c',
950: '#000000',
},
}SCSS
$custom: #2d751c; $custom-light: #6f9d5e; $custom-dark: #000000;
JSON
{
"hex": "#2d751c",
"rgb": {
"r": 45,
"g": 117,
"b": 28
},
"hsl": {
"h": 108.539,
"s": 61.379,
"l": 28.431
},
"oklch": {
"l": 0.49812,
"c": 0.14164,
"h": 140.3
},
"luminance": 0.13364
}Semantic roles & 50–950 ramp
primary
#2D751C
secondary
#9644A9
accent
#43E4C6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79