#2D7E16#2D7E16
#2D7E16 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.156 H 140.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7E16 |
|---|---|
| RGB | rgb(45, 126, 22) |
| HSL | hsl(107, 70%, 29%) |
| HSV | hsv(107, 83%, 49%) |
| CMYK | cmyk(64.3%, 0%, 82.5%, 50.6%) |
| CIE-LAB | lab(46.36, -43.57, 45.16) |
| CIE-LCH | lch(46.36, 62.75, 133.97°) |
| OKLab | oklab(52.33% -0.1196 0.1003) |
| OKLCH | oklch(52.33% 0.156 140) |
| XYZ | xyz(8.6875, 15.5367, 3.3000) |
| Luminance | 0.1554 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.52
Dark Grass Green
#388004
ΔE00 2.40
Green
#008000
ΔE00 2.48
Forestgreen (CSS)
#228B22
ΔE00 4.72
Darkish Green
#287C37
ΔE00 5.49
Emerald Green
#028F1E
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7E16 #67167E
analogous
#617E16 #2D7E16 #167E33
triadic
#2D7E16 #162D7E #7E162D
tetradic
#2D7E16 #16617E #67167E #7E3316
square
#2D7E16 #16617E #67167E #7E3316
split-complementary
#2D7E16 #33167E #7E1661
monochromatic
#091A05 #1A4A0D #2D7E16 #40B21F #58DB33
Accessibility & contrast
On white
5.11
#2D7E16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#2D7E16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7E16
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7E16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7E16 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#217A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2d7e16; /* rgb */ color: rgb(45, 126, 22); /* oklch */ color: oklch(52.3% 0.156 140.0);
Tailwind
colors: {
custom: {
50: '#71a45d',
500: '#2d7e16',
950: '#000000',
},
}SCSS
$custom: #2d7e16; $custom-light: #71a45d; $custom-dark: #000000;
JSON
{
"hex": "#2d7e16",
"rgb": {
"r": 45,
"g": 126,
"b": 22
},
"hsl": {
"h": 106.731,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.52326,
"c": 0.15611,
"h": 140
},
"luminance": 0.15538
}Semantic roles & 50–950 ramp
primary
#2D7E16
secondary
#993DB3
accent
#3BEDC6
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79