#2F7F10#2F7F10
#2F7F10 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.159 H 139.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7F10 |
|---|---|
| RGB | rgb(47, 127, 16) |
| HSL | hsl(103, 78%, 28%) |
| HSV | hsv(103, 87%, 50%) |
| CMYK | cmyk(63%, 0%, 87.4%, 50.2%) |
| CIE-LAB | lab(46.74, -43.75, 47.25) |
| CIE-LCH | lch(46.74, 64.40, 132.80°) |
| OKLab | oklab(52.65% -0.1205 0.1038) |
| OKLCH | oklch(52.65% 0.159 139.3) |
| XYZ | xyz(8.8548, 15.8197, 3.0770) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.28
Dark Grass Green
#388004
ΔE00 1.64
Green
#008000
ΔE00 2.49
Forestgreen (CSS)
#228B22
ΔE00 4.60
Emerald Green
#028F1E
ΔE00 6.04
Darkish Green
#287C37
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7F10 #60107F
analogous
#667F10 #2F7F10 #107F28
triadic
#2F7F10 #102F7F #7F102F
tetradic
#2F7F10 #10667F #60107F #7F2810
square
#2F7F10 #10667F #60107F #7F2810
split-complementary
#2F7F10 #28107F #7F1066
monochromatic
#0A1B03 #1B4909 #2F7F10 #43B517 #5BE426
Accessibility & contrast
On white
5.04
#2F7F10 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2F7F10 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7F10
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7F10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7F10 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#257A6B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2f7f10; /* rgb */ color: rgb(47, 127, 16); /* oklch */ color: oklch(52.6% 0.159 139.3);
Tailwind
colors: {
custom: {
50: '#73a55b',
500: '#2f7f10',
950: '#000000',
},
}SCSS
$custom: #2f7f10; $custom-light: #73a55b; $custom-dark: #000000;
JSON
{
"hex": "#2f7f10",
"rgb": {
"r": 47,
"g": 127,
"b": 16
},
"hsl": {
"h": 103.243,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.52646,
"c": 0.15906,
"h": 139.3
},
"luminance": 0.1582
}Semantic roles & 50–950 ramp
primary
#2F7F10
secondary
#9236B5
accent
#34F4BE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79