#2F681B#2F681B
#2F681B is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.124 H 138.8°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F681B |
|---|---|
| RGB | rgb(47, 104, 27) |
| HSL | hsl(104, 59%, 26%) |
| HSV | hsv(104, 74%, 41%) |
| CMYK | cmyk(54.8%, 0%, 74%, 59.2%) |
| CIE-LAB | lab(38.87, -33.94, 35.95) |
| CIE-LCH | lch(38.87, 49.44, 133.36°) |
| OKLab | oklab(46.17% -0.0935 0.0818) |
| OKLCH | oklch(46.17% 0.124 138.8) |
| XYZ | xyz(6.3202, 10.5836, 2.7465) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.05
Deep Green
#02590F
ΔE00 6.04
Forest Green
#2D5A27
ΔE00 6.26
Forest
#0B5509
ΔE00 6.75
Camouflage Green
#4B6113
ΔE00 7.22
Darkolivegreen
#556B2F
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F681B #541B68
analogous
#55681B #2F681B #1B682D
triadic
#2F681B #1B2F68 #681B2F
tetradic
#2F681B #1B5568 #541B68 #682D1B
square
#2F681B #1B5568 #541B68 #682D1B
split-complementary
#2F681B #2D1B68 #681B55
monochromatic
#0B1806 #19370E #2F681B #459928 #5BC934
Accessibility & contrast
On white
6.74
#2F681B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2F681B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F681B
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F681B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F681B | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5F0F
Deuteranopia (green-blind)
#645A22
Tritanopia (blue-blind)
#2A6459
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f681b; /* rgb */ color: rgb(47, 104, 27); /* oklch */ color: oklch(46.2% 0.124 138.8);
Tailwind
colors: {
custom: {
50: '#6e945c',
500: '#2f681b',
950: '#000000',
},
}SCSS
$custom: #2f681b; $custom-light: #6e945c; $custom-dark: #000000;
JSON
{
"hex": "#2f681b",
"rgb": {
"r": 47,
"g": 104,
"b": 27
},
"hsl": {
"h": 104.416,
"s": 58.779,
"l": 25.686
},
"oklch": {
"l": 0.46171,
"c": 0.12423,
"h": 138.8
},
"luminance": 0.10584
}Semantic roles & 50–950 ramp
primary
#2F681B
secondary
#85429D
accent
#46E2B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79