#2D741C#2D741C
#2D741C is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.140 H 140.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2D741C |
|---|---|
| RGB | rgb(45, 116, 28) |
| HSL | hsl(108, 61%, 28%) |
| HSV | hsv(108, 76%, 45%) |
| CMYK | cmyk(61.2%, 0%, 75.9%, 54.5%) |
| CIE-LAB | lab(42.96, -39.33, 39.71) |
| CIE-LCH | lch(42.96, 55.89, 134.73°) |
| OKLab | oklab(49.53% -0.1079 0.0898) |
| OKLCH | oklch(49.53% 0.14 140.2) |
| XYZ | xyz(7.5368, 13.1318, 3.2359) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.60
Darkish Green
#287C37
ΔE00 4.92
Green
#008000
ΔE00 5.18
Dark Grass Green
#388004
ΔE00 5.46
Darkgreen
#006400
ΔE00 6.06
Forestgreen (CSS)
#228B22
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D741C #631C74
analogous
#59741C #2D741C #1C7437
triadic
#2D741C #1C2D74 #741C2D
tetradic
#2D741C #1C5974 #631C74 #74371C
square
#2D741C #1C5974 #631C74 #74371C
split-complementary
#2D741C #371C74 #741C59
monochromatic
#0A1906 #1A4310 #2D741C #40A528 #58D03B
Accessibility & contrast
On white
5.79
#2D741C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#2D741C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D741C
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D741C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D741C | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77690C
Deuteranopia (green-blind)
#6E6325
Tritanopia (blue-blind)
#247063
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2d741c; /* rgb */ color: rgb(45, 116, 28); /* oklch */ color: oklch(49.5% 0.140 140.2);
Tailwind
colors: {
custom: {
50: '#6f9d5e',
500: '#2d741c',
950: '#000000',
},
}SCSS
$custom: #2d741c; $custom-light: #6f9d5e; $custom-dark: #000000;
JSON
{
"hex": "#2d741c",
"rgb": {
"r": 45,
"g": 116,
"b": 28
},
"hsl": {
"h": 108.409,
"s": 61.111,
"l": 28.235
},
"oklch": {
"l": 0.49527,
"c": 0.14036,
"h": 140.2
},
"luminance": 0.13133
}Semantic roles & 50–950 ramp
primary
#2D741C
secondary
#9543A8
accent
#44E4C5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79