#2D681F#2D681F
#2D681F is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.122 H 140.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2D681F |
|---|---|
| RGB | rgb(45, 104, 31) |
| HSL | hsl(108, 54%, 26%) |
| HSV | hsv(108, 70%, 41%) |
| CMYK | cmyk(56.7%, 0%, 70.2%, 59.2%) |
| CIE-LAB | lab(38.82, -34.18, 34.10) |
| CIE-LCH | lch(38.82, 48.28, 135.07°) |
| OKLab | oklab(46.12% -0.0937 0.0785) |
| OKLCH | oklch(46.12% 0.122 140.1) |
| XYZ | xyz(6.2796, 10.5569, 3.0028) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.16
Deep Green
#02590F
ΔE00 5.78
Forest Green
#2D5A27
ΔE00 5.82
Forest
#0B5509
ΔE00 6.62
Darkish Green
#287C37
ΔE00 7.32
Pine
#2B5D34
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D681F #5A1F68
analogous
#52681F #2D681F #1F6836
triadic
#2D681F #1F2D68 #681F2D
tetradic
#2D681F #1F5268 #5A1F68 #68361F
square
#2D681F #1F5268 #5A1F68 #68361F
split-complementary
#2D681F #361F68 #681F52
monochromatic
#0A1807 #193911 #2D681F #41972D #57C53C
Accessibility & contrast
On white
6.75
#2D681F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2D681F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D681F
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D681F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D681F | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5F15
Deuteranopia (green-blind)
#635A25
Tritanopia (blue-blind)
#276559
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2d681f; /* rgb */ color: rgb(45, 104, 31); /* oklch */ color: oklch(46.1% 0.122 140.1);
Tailwind
colors: {
custom: {
50: '#6d945f',
500: '#2d681f',
950: '#000000',
},
}SCSS
$custom: #2d681f; $custom-light: #6d945f; $custom-dark: #000000;
JSON
{
"hex": "#2d681f",
"rgb": {
"r": 45,
"g": 104,
"b": 31
},
"hsl": {
"h": 108.493,
"s": 54.074,
"l": 26.471
},
"oklch": {
"l": 0.46122,
"c": 0.12223,
"h": 140.1
},
"luminance": 0.10557
}Semantic roles & 50–950 ramp
primary
#2D681F
secondary
#8C469C
accent
#4ADDC1
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79