#2F6840#2F6840
#2F6840 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.7% C 0.089 H 151.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6840 |
|---|---|
| RGB | rgb(47, 104, 64) |
| HSL | hsl(138, 38%, 30%) |
| HSV | hsv(138, 55%, 41%) |
| CMYK | cmyk(54.8%, 0%, 38.5%, 59.2%) |
| CIE-LAB | lab(39.37, -28.60, 16.99) |
| CIE-LCH | lch(39.37, 33.27, 149.29°) |
| OKLab | oklab(46.74% -0.0777 0.0425) |
| OKLCH | oklch(46.74% 0.089 151.3) |
| XYZ | xyz(7.0475, 10.8745, 6.5771) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.80
Hunter Green
#355E3B
ΔE00 3.89
Spruce
#0A5F38
ΔE00 4.42
Forest Green
#2D5A27
ΔE00 6.19
Darkish Green
#287C37
ΔE00 8.71
Deep Green
#02590F
ΔE00 9.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6840 #682F57
analogous
#3B682F #2F6840 #2F685D
triadic
#2F6840 #402F68 #68402F
tetradic
#2F6840 #2F3B68 #682F57 #685D2F
square
#2F6840 #2F3B68 #682F57 #685D2F
split-complementary
#2F6840 #5D2F68 #682F3B
monochromatic
#0A150D #1C3E26 #2F6840 #42925A #5CB577
Accessibility & contrast
On white
6.61
#2F6840 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#2F6840 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6840
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6840 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#68603D
Deuteranopia (green-blind)
#605B42
Tritanopia (blue-blind)
#22665E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f6840; /* rgb */ color: rgb(47, 104, 64); /* oklch */ color: oklch(46.7% 0.089 151.3);
Tailwind
colors: {
custom: {
50: '#6c9375',
500: '#2f6840',
950: '#000000',
},
}SCSS
$custom: #2f6840; $custom-light: #6c9375; $custom-dark: #000000;
JSON
{
"hex": "#2f6840",
"rgb": {
"r": 47,
"g": 104,
"b": 64
},
"hsl": {
"h": 137.895,
"s": 37.748,
"l": 29.608
},
"oklch": {
"l": 0.46742,
"c": 0.08855,
"h": 151.3
},
"luminance": 0.10875
}Semantic roles & 50–950 ramp
primary
#2F6840
secondary
#995986
accent
#5AABCE
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D08
muted
#7A7E7B