#2F7B10#2F7B10
#2F7B10 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.154 H 139.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7B10 |
|---|---|
| RGB | rgb(47, 123, 16) |
| HSL | hsl(103, 77%, 27%) |
| HSV | hsv(103, 87%, 48%) |
| CMYK | cmyk(61.8%, 0%, 87%, 51.8%) |
| CIE-LAB | lab(45.37, -42.26, 46.02) |
| CIE-LCH | lch(45.37, 62.48, 132.56°) |
| OKLab | oklab(51.51% -0.1165 0.1012) |
| OKLCH | oklch(51.51% 0.154 139) |
| XYZ | xyz(8.3484, 14.8069, 2.9082) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.49
Dark Grass Green
#388004
ΔE00 2.49
Green
#008000
ΔE00 3.01
Forestgreen (CSS)
#228B22
ΔE00 5.87
Darkish Green
#287C37
ΔE00 5.96
Avocado
#568203
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7B10 #5C107B
analogous
#647B10 #2F7B10 #107B27
triadic
#2F7B10 #102F7B #7B102F
tetradic
#2F7B10 #10647B #5C107B #7B2710
square
#2F7B10 #10647B #5C107B #7B2710
split-complementary
#2F7B10 #27107B #7B1064
monochromatic
#0A1B04 #1A4509 #2F7B10 #44B117 #5AE223
Accessibility & contrast
On white
5.30
#2F7B10 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#2F7B10 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7B10
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7B10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7B10 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#76691E
Tritanopia (blue-blind)
#267768
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2f7b10; /* rgb */ color: rgb(47, 123, 16); /* oklch */ color: oklch(51.5% 0.154 139.0);
Tailwind
colors: {
custom: {
50: '#72a25a',
500: '#2f7b10',
950: '#000000',
},
}SCSS
$custom: #2f7b10; $custom-light: #72a25a; $custom-dark: #000000;
JSON
{
"hex": "#2f7b10",
"rgb": {
"r": 47,
"g": 123,
"b": 16
},
"hsl": {
"h": 102.617,
"s": 76.978,
"l": 27.255
},
"oklch": {
"l": 0.51514,
"c": 0.15435,
"h": 139
},
"luminance": 0.14808
}Semantic roles & 50–950 ramp
primary
#2F7B10
secondary
#8E35B2
accent
#34F4BC
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79