#2F6722#2F6722
#2F6722 is a mid, moderate green. Relative luminance 0.104; OKLCH L 46.0% C 0.117 H 140.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6722 |
|---|---|
| RGB | rgb(47, 103, 34) |
| HSL | hsl(109, 50%, 27%) |
| HSV | hsv(109, 67%, 40%) |
| CMYK | cmyk(54.4%, 0%, 67%, 59.6%) |
| CIE-LAB | lab(38.59, -32.81, 32.45) |
| CIE-LCH | lch(38.59, 46.15, 135.32°) |
| OKLab | oklab(45.96% -0.09 0.0753) |
| OKLCH | oklch(45.96% 0.117 140.1) |
| XYZ | xyz(6.3110, 10.4198, 3.1917) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.64
Forest Green
#2D5A27
ΔE00 5.19
Deep Green
#02590F
ΔE00 5.71
Forest
#0B5509
ΔE00 6.50
Pine
#2B5D34
ΔE00 6.79
Darkolivegreen
#556B2F
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6722 #5A2267
analogous
#526722 #2F6722 #226738
triadic
#2F6722 #222F67 #67222F
tetradic
#2F6722 #225267 #5A2267 #673822
square
#2F6722 #225267 #5A2267 #673822
split-complementary
#2F6722 #382267 #672252
monochromatic
#0A1708 #1A3913 #2F6722 #449531 #5AC143
Accessibility & contrast
On white
6.81
#2F6722 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2F6722 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6722
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6722 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6722 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#635928
Tritanopia (blue-blind)
#296459
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f6722; /* rgb */ color: rgb(47, 103, 34); /* oklch */ color: oklch(46.0% 0.117 140.1);
Tailwind
colors: {
custom: {
50: '#6d9360',
500: '#2f6722',
950: '#000000',
},
}SCSS
$custom: #2f6722; $custom-light: #6d9360; $custom-dark: #000000;
JSON
{
"hex": "#2f6722",
"rgb": {
"r": 47,
"g": 103,
"b": 34
},
"hsl": {
"h": 108.696,
"s": 50.365,
"l": 26.863
},
"oklch": {
"l": 0.45958,
"c": 0.11733,
"h": 140.1
},
"luminance": 0.1042
}Semantic roles & 50–950 ramp
primary
#2F6722
secondary
#8C4A9B
accent
#4EDAC0
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79