#2D7F10#2D7F10
#2D7F10 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.160 H 139.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7F10 |
|---|---|
| RGB | rgb(45, 127, 16) |
| HSL | hsl(104, 78%, 28%) |
| HSV | hsv(104, 87%, 50%) |
| CMYK | cmyk(64.6%, 0%, 87.4%, 50.2%) |
| CIE-LAB | lab(46.68, -44.26, 47.17) |
| CIE-LCH | lch(46.68, 64.68, 133.18°) |
| OKLab | oklab(52.58% -0.1218 0.1036) |
| OKLCH | oklch(52.58% 0.16 139.6) |
| XYZ | xyz(8.7647, 15.7732, 3.0728) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.15
Dark Grass Green
#388004
ΔE00 1.82
Green
#008000
ΔE00 2.31
Forestgreen (CSS)
#228B22
ΔE00 4.54
Emerald Green
#028F1E
ΔE00 5.97
Darkish Green
#287C37
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7F10 #62107F
analogous
#647F10 #2D7F10 #107F2A
triadic
#2D7F10 #102D7F #7F102D
tetradic
#2D7F10 #10647F #62107F #7F2A10
square
#2D7F10 #10647F #62107F #7F2A10
split-complementary
#2D7F10 #2A107F #7F1064
monochromatic
#0A1B03 #1A4909 #2D7F10 #40B517 #57E426
Accessibility & contrast
On white
5.05
#2D7F10 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#2D7F10 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7F10
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7F10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7F10 | 1.00 | 5.05 | 4.15 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#227A6B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2d7f10; /* rgb */ color: rgb(45, 127, 16); /* oklch */ color: oklch(52.6% 0.160 139.6);
Tailwind
colors: {
custom: {
50: '#72a55b',
500: '#2d7f10',
950: '#000000',
},
}SCSS
$custom: #2d7f10; $custom-light: #72a55b; $custom-dark: #000000;
JSON
{
"hex": "#2d7f10",
"rgb": {
"r": 45,
"g": 127,
"b": 16
},
"hsl": {
"h": 104.324,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.52578,
"c": 0.1599,
"h": 139.6
},
"luminance": 0.15774
}Semantic roles & 50–950 ramp
primary
#2D7F10
secondary
#9436B5
accent
#34F4C2
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79