#2F6828#2F6828
#2F6828 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.3% C 0.113 H 141.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6828 |
|---|---|
| RGB | rgb(47, 104, 40) |
| HSL | hsl(113, 44%, 28%) |
| HSV | hsv(113, 62%, 41%) |
| CMYK | cmyk(54.8%, 0%, 61.5%, 59.2%) |
| CIE-LAB | lab(39.00, -32.53, 29.92) |
| CIE-LCH | lch(39.00, 44.20, 137.40°) |
| OKLab | oklab(46.32% -0.0888 0.0706) |
| OKLCH | oklch(46.32% 0.113 141.5) |
| XYZ | xyz(6.5053, 10.6577, 3.7214) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.01
Darkgreen
#006400
ΔE00 5.39
Deep Green
#02590F
ΔE00 6.08
Pine
#2B5D34
ΔE00 6.09
Forest
#0B5509
ΔE00 6.98
Darkish Green
#287C37
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6828 #612868
analogous
#4F6828 #2F6828 #286841
triadic
#2F6828 #282F68 #68282F
tetradic
#2F6828 #284F68 #612868 #684128
square
#2F6828 #284F68 #612868 #684128
split-complementary
#2F6828 #412868 #68284F
monochromatic
#0A1609 #1B3C17 #2F6828 #439439 #5BBB4F
Accessibility & contrast
On white
6.71
#2F6828 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2F6828 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6828
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6828 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5F21
Deuteranopia (green-blind)
#635A2D
Tritanopia (blue-blind)
#28655A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f6828; /* rgb */ color: rgb(47, 104, 40); /* oklch */ color: oklch(46.3% 0.113 141.5);
Tailwind
colors: {
custom: {
50: '#6d9464',
500: '#2f6828',
950: '#000000',
},
}SCSS
$custom: #2f6828; $custom-light: #6d9464; $custom-dark: #000000;
JSON
{
"hex": "#2f6828",
"rgb": {
"r": 47,
"g": 104,
"b": 40
},
"hsl": {
"h": 113.438,
"s": 44.444,
"l": 28.235
},
"oklch": {
"l": 0.46317,
"c": 0.11343,
"h": 141.5
},
"luminance": 0.10658
}Semantic roles & 50–950 ramp
primary
#2F6828
secondary
#93519B
accent
#54D4C6
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A