#2D6F1F#2D6F1F
#2D6F1F is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.132 H 140.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2D6F1F |
|---|---|
| RGB | rgb(45, 111, 31) |
| HSL | hsl(110, 56%, 28%) |
| HSV | hsv(110, 72%, 44%) |
| CMYK | cmyk(59.5%, 0%, 72.1%, 56.5%) |
| CIE-LAB | lab(41.26, -37.07, 36.69) |
| CIE-LCH | lch(41.26, 52.16, 135.30°) |
| OKLab | oklab(48.13% -0.1016 0.0839) |
| OKLCH | oklch(48.13% 0.132 140.4) |
| XYZ | xyz(7.0136, 12.0251, 3.2475) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.95
Tree Green
#2A7E19
ΔE00 5.48
Darkish Green
#287C37
ΔE00 5.52
Green
#008000
ΔE00 6.96
Dark Grass Green
#388004
ΔE00 7.28
Deep Green
#02590F
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D6F1F #611F6F
analogous
#556F1F #2D6F1F #1F6F39
triadic
#2D6F1F #1F2D6F #6F1F2D
tetradic
#2D6F1F #1F556F #611F6F #6F391F
square
#2D6F1F #1F556F #611F6F #6F391F
split-complementary
#2D6F1F #391F6F #6F1F55
monochromatic
#0A1807 #1A3F12 #2D6F1F #409F2C #57C93F
Accessibility & contrast
On white
6.17
#2D6F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#2D6F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D6F1F
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D6F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D6F1F | 1.00 | 6.17 | 3.41 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#256B5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2d6f1f; /* rgb */ color: rgb(45, 111, 31); /* oklch */ color: oklch(48.1% 0.132 140.4);
Tailwind
colors: {
custom: {
50: '#6e995f',
500: '#2d6f1f',
950: '#000000',
},
}SCSS
$custom: #2d6f1f; $custom-light: #6e995f; $custom-dark: #000000;
JSON
{
"hex": "#2d6f1f",
"rgb": {
"r": 45,
"g": 111,
"b": 31
},
"hsl": {
"h": 109.5,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.48126,
"c": 0.13175,
"h": 140.4
},
"luminance": 0.12026
}Semantic roles & 50–950 ramp
primary
#2D6F1F
secondary
#9347A3
accent
#48E0C5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E05
muted
#7B7E79