#2D5E1F#2D5E1F
#2D5E1F is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.108 H 139.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5E1F |
|---|---|
| RGB | rgb(45, 94, 31) |
| HSL | hsl(107, 50%, 25%) |
| HSV | hsv(107, 67%, 37%) |
| CMYK | cmyk(52.1%, 0%, 67%, 63.1%) |
| CIE-LAB | lab(35.32, -29.82, 30.26) |
| CIE-LCH | lch(35.32, 42.49, 134.58°) |
| OKLab | oklab(43.24% -0.0819 0.0703) |
| OKLCH | oklch(43.24% 0.108 139.3) |
| XYZ | xyz(5.3320, 8.6618, 2.6870) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.70
Deep Green
#02590F
ΔE00 4.21
Forest
#0B5509
ΔE00 4.49
Pine
#2B5D34
ΔE00 5.39
Darkgreen
#006400
ΔE00 5.46
Navy Green
#35530A
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5E1F #501F5E
analogous
#4D5E1F #2D5E1F #1F5E31
triadic
#2D5E1F #1F2D5E #5E1F2D
tetradic
#2D5E1F #1F4D5E #501F5E #5E311F
square
#2D5E1F #1F4D5E #501F5E #5E311F
split-complementary
#2D5E1F #311F5E #5E1F4D
monochromatic
#0B1708 #173010 #2D5E1F #438C2E #59BA3D
Accessibility & contrast
On white
7.69
#2D5E1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2D5E1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D5E1F
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5E1F | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#5A5124
Tritanopia (blue-blind)
#295B51
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2d5e1f; /* rgb */ color: rgb(45, 94, 31); /* oklch */ color: oklch(43.2% 0.108 139.3);
Tailwind
colors: {
custom: {
50: '#6b8c5d',
500: '#2d5e1f',
950: '#000000',
},
}SCSS
$custom: #2d5e1f; $custom-light: #6b8c5d; $custom-dark: #000000;
JSON
{
"hex": "#2d5e1f",
"rgb": {
"r": 45,
"g": 94,
"b": 31
},
"hsl": {
"h": 106.667,
"s": 50.4,
"l": 24.51
},
"oklch": {
"l": 0.43244,
"c": 0.10798,
"h": 139.3
},
"luminance": 0.08662
}Semantic roles & 50–950 ramp
primary
#2D5E1F
secondary
#824693
accent
#4EDABB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79