#2D6816#2D6816
#2D6816 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.129 H 138.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2D6816 |
|---|---|
| RGB | rgb(45, 104, 22) |
| HSL | hsl(103, 65%, 25%) |
| HSV | hsv(103, 79%, 41%) |
| CMYK | cmyk(56.7%, 0%, 78.8%, 59.2%) |
| CIE-LAB | lab(38.75, -34.98, 37.84) |
| CIE-LCH | lch(38.75, 51.53, 132.75°) |
| OKLab | oklab(46.04% -0.0965 0.085) |
| OKLCH | oklch(46.04% 0.129 138.6) |
| XYZ | xyz(6.1771, 10.5160, 2.4632) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.63
Deep Green
#02590F
ΔE00 6.04
Forest
#0B5509
ΔE00 6.73
Forest Green
#2D5A27
ΔE00 6.73
Camouflage Green
#4B6113
ΔE00 7.23
Tree Green
#2A7E19
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D6816 #511668
analogous
#566816 #2D6816 #166828
triadic
#2D6816 #162D68 #68162D
tetradic
#2D6816 #165668 #511668 #682816
square
#2D6816 #165668 #511668 #682816
split-complementary
#2D6816 #281668 #681656
monochromatic
#0B1905 #17350B #2D6816 #439B21 #59CD2B
Accessibility & contrast
On white
6.77
#2D6816 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2D6816 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D6816
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D6816 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D6816 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E06
Deuteranopia (green-blind)
#64591F
Tritanopia (blue-blind)
#286458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2d6816; /* rgb */ color: rgb(45, 104, 22); /* oklch */ color: oklch(46.0% 0.129 138.6);
Tailwind
colors: {
custom: {
50: '#6d945a',
500: '#2d6816',
950: '#000000',
},
}SCSS
$custom: #2d6816; $custom-light: #6d945a; $custom-dark: #000000;
JSON
{
"hex": "#2d6816",
"rgb": {
"r": 45,
"g": 104,
"b": 22
},
"hsl": {
"h": 103.171,
"s": 65.079,
"l": 24.706
},
"oklch": {
"l": 0.46041,
"c": 0.1286,
"h": 138.6
},
"luminance": 0.10516
}Semantic roles & 50–950 ramp
primary
#2D6816
secondary
#833B9F
accent
#40E8B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79