#2D731F#2D731F
#2D731F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.137 H 140.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2D731F |
|---|---|
| RGB | rgb(45, 115, 31) |
| HSL | hsl(110, 58%, 29%) |
| HSV | hsv(110, 73%, 45%) |
| CMYK | cmyk(60.9%, 0%, 73%, 54.9%) |
| CIE-LAB | lab(42.64, -38.68, 38.14) |
| CIE-LCH | lch(42.64, 54.32, 135.40°) |
| OKLab | oklab(49.27% -0.1059 0.087) |
| OKLCH | oklch(49.27% 0.137 140.6) |
| XYZ | xyz(7.4599, 12.9176, 3.3963) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.09
Darkish Green
#287C37
ΔE00 4.73
Green
#008000
ΔE00 5.68
Darkgreen
#006400
ΔE00 5.86
Dark Grass Green
#388004
ΔE00 6.03
Jungle Green
#048243
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D731F #651F73
analogous
#57731F #2D731F #1F733B
triadic
#2D731F #1F2D73 #731F2D
tetradic
#2D731F #1F5773 #651F73 #733B1F
square
#2D731F #1F5773 #651F73 #733B1F
split-complementary
#2D731F #3B1F73 #731F57
monochromatic
#091806 #1A4312 #2D731F #40A32C #58CC41
Accessibility & contrast
On white
5.86
#2D731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2D731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D731F
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D731F | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#246F62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2d731f; /* rgb */ color: rgb(45, 115, 31); /* oklch */ color: oklch(49.3% 0.137 140.6);
Tailwind
colors: {
custom: {
50: '#6f9c60',
500: '#2d731f',
950: '#000000',
},
}SCSS
$custom: #2d731f; $custom-light: #6f9c60; $custom-dark: #000000;
JSON
{
"hex": "#2d731f",
"rgb": {
"r": 45,
"g": 115,
"b": 31
},
"hsl": {
"h": 110,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.49268,
"c": 0.13704,
"h": 140.6
},
"luminance": 0.12918
}Semantic roles & 50–950 ramp
primary
#2D731F
secondary
#9747A7
accent
#47E1C7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79