#2D671F#2D671F
#2D671F is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.121 H 140.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2D671F |
|---|---|
| RGB | rgb(45, 103, 31) |
| HSL | hsl(108, 54%, 26%) |
| HSV | hsv(108, 70%, 40%) |
| CMYK | cmyk(56.3%, 0%, 69.9%, 59.6%) |
| CIE-LAB | lab(38.48, -33.76, 33.72) |
| CIE-LCH | lch(38.48, 47.71, 135.03°) |
| OKLab | oklab(45.84% -0.0926 0.0777) |
| OKLCH | oklch(45.84% 0.121 140) |
| XYZ | xyz(6.1795, 10.3568, 2.9695) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.16
Forest Green
#2D5A27
ΔE00 5.49
Deep Green
#02590F
ΔE00 5.54
Forest
#0B5509
ΔE00 6.34
Pine
#2B5D34
ΔE00 7.19
Darkolivegreen
#556B2F
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D671F #591F67
analogous
#51671F #2D671F #1F6735
triadic
#2D671F #1F2D67 #671F2D
tetradic
#2D671F #1F5167 #591F67 #67351F
square
#2D671F #1F5167 #591F67 #67351F
split-complementary
#2D671F #351F67 #671F51
monochromatic
#0A1807 #183811 #2D671F #42962D #57C43C
Accessibility & contrast
On white
6.84
#2D671F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2D671F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D671F
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D671F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D671F | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E16
Deuteranopia (green-blind)
#625925
Tritanopia (blue-blind)
#276458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2d671f; /* rgb */ color: rgb(45, 103, 31); /* oklch */ color: oklch(45.8% 0.121 140.0);
Tailwind
colors: {
custom: {
50: '#6c935e',
500: '#2d671f',
950: '#000000',
},
}SCSS
$custom: #2d671f; $custom-light: #6c935e; $custom-dark: #000000;
JSON
{
"hex": "#2d671f",
"rgb": {
"r": 45,
"g": 103,
"b": 31
},
"hsl": {
"h": 108.333,
"s": 53.731,
"l": 26.275
},
"oklch": {
"l": 0.45835,
"c": 0.12085,
"h": 140
},
"luminance": 0.10357
}Semantic roles & 50–950 ramp
primary
#2D671F
secondary
#8B469B
accent
#4BDDC1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79