#2F7B13#2F7B13
#2F7B13 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.153 H 139.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7B13 |
|---|---|
| RGB | rgb(47, 123, 19) |
| HSL | hsl(104, 73%, 28%) |
| HSV | hsv(104, 85%, 48%) |
| CMYK | cmyk(61.8%, 0%, 84.6%, 51.8%) |
| CIE-LAB | lab(45.38, -42.11, 45.19) |
| CIE-LCH | lch(45.38, 61.77, 132.97°) |
| OKLab | oklab(51.53% -0.116 0.0999) |
| OKLCH | oklch(51.53% 0.153 139.3) |
| XYZ | xyz(8.3724, 14.8165, 3.0346) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.33
Dark Grass Green
#388004
ΔE00 2.66
Green
#008000
ΔE00 3.05
Darkish Green
#287C37
ΔE00 5.69
Forestgreen (CSS)
#228B22
ΔE00 5.81
Avocado
#568203
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7B13 #5F137B
analogous
#637B13 #2F7B13 #137B2B
triadic
#2F7B13 #132F7B #7B132F
tetradic
#2F7B13 #13637B #5F137B #7B2B13
square
#2F7B13 #13637B #5F137B #7B2B13
split-complementary
#2F7B13 #2B137B #7B1363
monochromatic
#0A1B04 #1B460B #2F7B13 #43B01B #5BDE2A
Accessibility & contrast
On white
5.30
#2F7B13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#2F7B13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7B13
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7B13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7B13 | 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)
#756920
Tritanopia (blue-blind)
#267768
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2f7b13; /* rgb */ color: rgb(47, 123, 19); /* oklch */ color: oklch(51.5% 0.153 139.3);
Tailwind
colors: {
custom: {
50: '#72a25b',
500: '#2f7b13',
950: '#000000',
},
}SCSS
$custom: #2f7b13; $custom-light: #72a25b; $custom-dark: #000000;
JSON
{
"hex": "#2f7b13",
"rgb": {
"r": 47,
"g": 123,
"b": 19
},
"hsl": {
"h": 103.846,
"s": 73.239,
"l": 27.843
},
"oklch": {
"l": 0.51529,
"c": 0.15307,
"h": 139.3
},
"luminance": 0.14817
}Semantic roles & 50–950 ramp
primary
#2F7B13
secondary
#9139B1
accent
#38F0BE
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79