#2F6822#2F6822
#2F6822 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.2% C 0.119 H 140.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6822 |
|---|---|
| RGB | rgb(47, 104, 34) |
| HSL | hsl(109, 51%, 27%) |
| HSV | hsv(109, 67%, 41%) |
| CMYK | cmyk(54.8%, 0%, 67.3%, 59.2%) |
| CIE-LAB | lab(38.93, -33.25, 32.83) |
| CIE-LCH | lch(38.93, 46.73, 135.36°) |
| OKLab | oklab(46.24% -0.0911 0.0761) |
| OKLCH | oklch(46.24% 0.119 140.1) |
| XYZ | xyz(6.4111, 10.6200, 3.2251) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.62
Forest Green
#2D5A27
ΔE00 5.54
Deep Green
#02590F
ΔE00 5.94
Forest
#0B5509
ΔE00 6.76
Pine
#2B5D34
ΔE00 7.05
Darkish Green
#287C37
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6822 #5B2268
analogous
#526822 #2F6822 #226838
triadic
#2F6822 #222F68 #68222F
tetradic
#2F6822 #225268 #5B2268 #683822
square
#2F6822 #225268 #5B2268 #683822
split-complementary
#2F6822 #382268 #682252
monochromatic
#0A1708 #1A3A13 #2F6822 #449631 #5AC243
Accessibility & contrast
On white
6.72
#2F6822 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2F6822 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6822
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6822 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6822 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5F1A
Deuteranopia (green-blind)
#635A28
Tritanopia (blue-blind)
#296559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f6822; /* rgb */ color: rgb(47, 104, 34); /* oklch */ color: oklch(46.2% 0.119 140.1);
Tailwind
colors: {
custom: {
50: '#6e9460',
500: '#2f6822',
950: '#000000',
},
}SCSS
$custom: #2f6822; $custom-light: #6e9460; $custom-dark: #000000;
JSON
{
"hex": "#2f6822",
"rgb": {
"r": 47,
"g": 104,
"b": 34
},
"hsl": {
"h": 108.857,
"s": 50.725,
"l": 27.059
},
"oklch": {
"l": 0.46243,
"c": 0.11875,
"h": 140.1
},
"luminance": 0.1062
}Semantic roles & 50–950 ramp
primary
#2F6822
secondary
#8D4A9C
accent
#4EDAC0
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79