#2F681F#2F681F
#2F681F is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.121 H 139.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F681F |
|---|---|
| RGB | rgb(47, 104, 31) |
| HSL | hsl(107, 54%, 26%) |
| HSV | hsv(107, 70%, 41%) |
| CMYK | cmyk(54.8%, 0%, 70.2%, 59.2%) |
| CIE-LAB | lab(38.90, -33.56, 34.21) |
| CIE-LCH | lch(38.90, 47.92, 134.45°) |
| OKLab | oklab(46.21% -0.0922 0.0787) |
| OKLCH | oklch(46.21% 0.121 139.5) |
| XYZ | xyz(6.3697, 10.6034, 3.0071) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.33
Forest Green
#2D5A27
ΔE00 5.84
Deep Green
#02590F
ΔE00 5.95
Forest
#0B5509
ΔE00 6.73
Darkolivegreen
#556B2F
ΔE00 7.32
Darkish Green
#287C37
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F681F #581F68
analogous
#54681F #2F681F #1F6834
triadic
#2F681F #1F2F68 #681F2F
tetradic
#2F681F #1F5468 #581F68 #68341F
square
#2F681F #1F5468 #581F68 #68341F
split-complementary
#2F681F #341F68 #681F54
monochromatic
#0B1807 #1A3911 #2F681F #44972D #5AC53C
Accessibility & contrast
On white
6.73
#2F681F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2F681F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F681F
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F681F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F681F | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5F15
Deuteranopia (green-blind)
#645A25
Tritanopia (blue-blind)
#296459
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f681f; /* rgb */ color: rgb(47, 104, 31); /* oklch */ color: oklch(46.2% 0.121 139.5);
Tailwind
colors: {
custom: {
50: '#6e945f',
500: '#2f681f',
950: '#000000',
},
}SCSS
$custom: #2f681f; $custom-light: #6e945f; $custom-dark: #000000;
JSON
{
"hex": "#2f681f",
"rgb": {
"r": 47,
"g": 104,
"b": 31
},
"hsl": {
"h": 106.849,
"s": 54.074,
"l": 26.471
},
"oklch": {
"l": 0.4621,
"c": 0.1212,
"h": 139.5
},
"luminance": 0.10604
}Semantic roles & 50–950 ramp
primary
#2F681F
secondary
#8A469C
accent
#4ADDBD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79