#2F6540#2F6540
#2F6540 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.9% C 0.084 H 152.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6540 |
|---|---|
| RGB | rgb(47, 101, 64) |
| HSL | hsl(139, 36%, 29%) |
| HSV | hsv(139, 53%, 40%) |
| CMYK | cmyk(53.5%, 0%, 36.6%, 60.4%) |
| CIE-LAB | lab(38.34, -27.17, 15.62) |
| CIE-LCH | lch(38.34, 31.34, 150.11°) |
| OKLab | oklab(45.9% -0.0739 0.0392) |
| OKLCH | oklch(45.9% 0.084 152) |
| XYZ | xyz(6.7509, 10.2813, 6.4782) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 2.91
Pine
#2B5D34
ΔE00 3.13
Spruce
#0A5F38
ΔE00 3.97
Forest Green
#2D5A27
ΔE00 5.95
Dark Green Blue
#1F6357
ΔE00 9.42
Deep Green
#02590F
ΔE00 9.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6540 #652F54
analogous
#39652F #2F6540 #2F655B
triadic
#2F6540 #402F65 #65402F
tetradic
#2F6540 #2F3965 #652F54 #655B2F
square
#2F6540 #2F3965 #652F54 #655B2F
split-complementary
#2F6540 #5B2F65 #652F39
monochromatic
#0A150D #1C3B26 #2F6540 #428F5A #5BB377
Accessibility & contrast
On white
6.87
#2F6540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2F6540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6540
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6540 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655D3E
Deuteranopia (green-blind)
#5E5842
Tritanopia (blue-blind)
#23645B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f6540; /* rgb */ color: rgb(47, 101, 64); /* oklch */ color: oklch(45.9% 0.084 152.0);
Tailwind
colors: {
custom: {
50: '#6c9175',
500: '#2f6540',
950: '#000000',
},
}SCSS
$custom: #2f6540; $custom-light: #6c9175; $custom-dark: #000000;
JSON
{
"hex": "#2f6540",
"rgb": {
"r": 47,
"g": 101,
"b": 64
},
"hsl": {
"h": 138.889,
"s": 36.486,
"l": 29.02
},
"oklch": {
"l": 0.45904,
"c": 0.08366,
"h": 152
},
"luminance": 0.10282
}Semantic roles & 50–950 ramp
primary
#2F6540
secondary
#975983
accent
#5BA9CC
background
#F6F8F7
surface
#ECF0ED
border
#C7CBC8
text
#070D08
muted
#7A7D7B