#2D701C#2D701C
#2D701C is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.4% C 0.135 H 140.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2D701C |
|---|---|
| RGB | rgb(45, 112, 28) |
| HSL | hsl(108, 60%, 27%) |
| HSV | hsv(108, 75%, 44%) |
| CMYK | cmyk(59.8%, 0%, 75%, 56.1%) |
| CIE-LAB | lab(41.58, -37.75, 38.30) |
| CIE-LCH | lch(41.58, 53.78, 134.59°) |
| OKLab | oklab(48.39% -0.1036 0.0869) |
| OKLCH | oklch(48.39% 0.135 140) |
| XYZ | xyz(7.0856, 12.2295, 3.0855) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.99
Darkgreen
#006400
ΔE00 5.04
Darkish Green
#287C37
ΔE00 5.59
Green
#008000
ΔE00 6.44
Dark Grass Green
#388004
ΔE00 6.71
Darkolivegreen
#556B2F
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D701C #5F1C70
analogous
#57701C #2D701C #1C7035
triadic
#2D701C #1C2D70 #701C2D
tetradic
#2D701C #1C5770 #5F1C70 #70351C
square
#2D701C #1C5770 #5F1C70 #70351C
split-complementary
#2D701C #351C70 #701C57
monochromatic
#0A1806 #193F10 #2D701C #41A128 #57CD39
Accessibility & contrast
On white
6.09
#2D701C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#2D701C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D701C
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D701C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D701C | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73660E
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#256C5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2d701c; /* rgb */ color: rgb(45, 112, 28); /* oklch */ color: oklch(48.4% 0.135 140.0);
Tailwind
colors: {
custom: {
50: '#6e9a5e',
500: '#2d701c',
950: '#000000',
},
}SCSS
$custom: #2d701c; $custom-light: #6e9a5e; $custom-dark: #000000;
JSON
{
"hex": "#2d701c",
"rgb": {
"r": 45,
"g": 112,
"b": 28
},
"hsl": {
"h": 107.857,
"s": 60,
"l": 27.451
},
"oklch": {
"l": 0.48385,
"c": 0.13519,
"h": 140
},
"luminance": 0.1223
}Semantic roles & 50–950 ramp
primary
#2D701C
secondary
#9143A5
accent
#45E3C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79