#2F7311#2F7311
#2F7311 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.144 H 138.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7311 |
|---|---|
| RGB | rgb(47, 115, 17) |
| HSL | hsl(102, 74%, 26%) |
| HSV | hsv(102, 85%, 45%) |
| CMYK | cmyk(59.1%, 0%, 85.2%, 54.9%) |
| CIE-LAB | lab(42.62, -39.14, 43.25) |
| CIE-LCH | lch(42.62, 58.33, 132.14°) |
| OKLab | oklab(49.24% -0.1081 0.0955) |
| OKLCH | oklch(49.24% 0.144 138.5) |
| XYZ | xyz(7.4039, 12.9056, 2.6311) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.87
Dark Grass Green
#388004
ΔE00 5.01
Green
#008000
ΔE00 5.19
Darkgreen
#006400
ΔE00 5.92
Darkish Green
#287C37
ΔE00 6.26
Darkolivegreen
#556B2F
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7311 #551173
analogous
#607311 #2F7311 #117324
triadic
#2F7311 #112F73 #73112F
tetradic
#2F7311 #116073 #551173 #732411
square
#2F7311 #116073 #551173 #732411
split-complementary
#2F7311 #241173 #731160
monochromatic
#0B1B04 #193E09 #2F7311 #45A819 #5BDE21
Accessibility & contrast
On white
5.86
#2F7311 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2F7311 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7311
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7311 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7311 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E631D
Tritanopia (blue-blind)
#286F61
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f7311; /* rgb */ color: rgb(47, 115, 17); /* oklch */ color: oklch(49.2% 0.144 138.5);
Tailwind
colors: {
custom: {
50: '#709c59',
500: '#2f7311',
950: '#000000',
},
}SCSS
$custom: #2f7311; $custom-light: #709c59; $custom-dark: #000000;
JSON
{
"hex": "#2f7311",
"rgb": {
"r": 47,
"g": 115,
"b": 17
},
"hsl": {
"h": 101.633,
"s": 74.242,
"l": 25.882
},
"oklch": {
"l": 0.49244,
"c": 0.14426,
"h": 138.5
},
"luminance": 0.12906
}Semantic roles & 50–950 ramp
primary
#2F7311
secondary
#8636AA
accent
#37F1B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79