#2D7F19#2D7F19
#2D7F19 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.156 H 140.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7F19 |
|---|---|
| RGB | rgb(45, 127, 25) |
| HSL | hsl(108, 67%, 30%) |
| HSV | hsv(108, 80%, 50%) |
| CMYK | cmyk(64.6%, 0%, 80.3%, 50.2%) |
| CIE-LAB | lab(46.72, -43.75, 44.52) |
| CIE-LCH | lch(46.72, 62.41, 134.50°) |
| OKLab | oklab(52.63% -0.1199 0.0994) |
| OKLCH | oklch(52.63% 0.156 140.3) |
| XYZ | xyz(8.8466, 15.8060, 3.5042) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.49
Green
#008000
ΔE00 2.51
Dark Grass Green
#388004
ΔE00 2.54
Forestgreen (CSS)
#228B22
ΔE00 4.33
Darkish Green
#287C37
ΔE00 5.29
Emerald Green
#028F1E
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7F19 #6B197F
analogous
#607F19 #2D7F19 #197F38
triadic
#2D7F19 #192D7F #7F192D
tetradic
#2D7F19 #19607F #6B197F #7F3819
square
#2D7F19 #19607F #6B197F #7F3819
split-complementary
#2D7F19 #38197F #7F1960
monochromatic
#091A05 #1B4C0F #2D7F19 #3FB223 #59D83A
Accessibility & contrast
On white
5.05
#2D7F19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2D7F19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D7F19
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7F19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D7F19 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 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)
#796C25
Tritanopia (blue-blind)
#217B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2d7f19; /* rgb */ color: rgb(45, 127, 25); /* oklch */ color: oklch(52.6% 0.156 140.3);
Tailwind
colors: {
custom: {
50: '#71a55e',
500: '#2d7f19',
950: '#000000',
},
}SCSS
$custom: #2d7f19; $custom-light: #71a55e; $custom-dark: #000000;
JSON
{
"hex": "#2d7f19",
"rgb": {
"r": 45,
"g": 127,
"b": 25
},
"hsl": {
"h": 108.235,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.52628,
"c": 0.15578,
"h": 140.3
},
"luminance": 0.15807
}Semantic roles & 50–950 ramp
primary
#2D7F19
secondary
#9D41B3
accent
#3EEAC8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79