#2F7E19#2F7E19
#2F7E19 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.154 H 140.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7E19 |
|---|---|
| RGB | rgb(47, 126, 25) |
| HSL | hsl(107, 67%, 30%) |
| HSV | hsv(107, 80%, 49%) |
| CMYK | cmyk(62.7%, 0%, 80.2%, 50.6%) |
| CIE-LAB | lab(46.44, -42.87, 44.27) |
| CIE-LCH | lch(46.44, 61.62, 134.08°) |
| OKLab | oklab(52.41% -0.1177 0.0989) |
| OKLCH | oklch(52.41% 0.154 140) |
| XYZ | xyz(8.8082, 15.5954, 3.4656) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.51
Dark Grass Green
#388004
ΔE00 2.51
Green
#008000
ΔE00 2.74
Forestgreen (CSS)
#228B22
ΔE00 4.71
Darkish Green
#287C37
ΔE00 5.27
Emerald Green
#028F1E
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7E19 #68197E
analogous
#617E19 #2F7E19 #197E36
triadic
#2F7E19 #192F7E #7E192F
tetradic
#2F7E19 #19617E #68197E #7E3619
square
#2F7E19 #19617E #68197E #7E3619
split-complementary
#2F7E19 #36197E #7E1961
monochromatic
#0A1A05 #1C4B0F #2F7E19 #42B123 #5CD83A
Accessibility & contrast
On white
5.10
#2F7E19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#2F7E19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7E19
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7E19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7E19 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#247A6B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f7e19; /* rgb */ color: rgb(47, 126, 25); /* oklch */ color: oklch(52.4% 0.154 140.0);
Tailwind
colors: {
custom: {
50: '#72a45e',
500: '#2f7e19',
950: '#000000',
},
}SCSS
$custom: #2f7e19; $custom-light: #72a45e; $custom-dark: #000000;
JSON
{
"hex": "#2f7e19",
"rgb": {
"r": 47,
"g": 126,
"b": 25
},
"hsl": {
"h": 106.931,
"s": 66.887,
"l": 29.608
},
"oklch": {
"l": 0.52414,
"c": 0.15372,
"h": 140
},
"luminance": 0.15596
}Semantic roles & 50–950 ramp
primary
#2F7E19
secondary
#9941B2
accent
#3EEAC4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79