#2F6622#2F6622
#2F6622 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.7% C 0.116 H 140.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6622 |
|---|---|
| RGB | rgb(47, 102, 34) |
| HSL | hsl(109, 50%, 27%) |
| HSV | hsv(109, 67%, 40%) |
| CMYK | cmyk(53.9%, 0%, 66.7%, 60%) |
| CIE-LAB | lab(38.24, -32.38, 32.06) |
| CIE-LCH | lch(38.24, 45.57, 135.28°) |
| OKLab | oklab(45.67% -0.0888 0.0745) |
| OKLCH | oklch(45.67% 0.116 140) |
| XYZ | xyz(6.2121, 10.2221, 3.1588) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.69
Forest Green
#2D5A27
ΔE00 4.85
Deep Green
#02590F
ΔE00 5.50
Forest
#0B5509
ΔE00 6.26
Pine
#2B5D34
ΔE00 6.53
Darkolivegreen
#556B2F
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6622 #592266
analogous
#516622 #2F6622 #226637
triadic
#2F6622 #222F66 #66222F
tetradic
#2F6622 #225166 #592266 #663722
square
#2F6622 #225166 #592266 #663722
split-complementary
#2F6622 #372266 #662251
monochromatic
#0B1708 #1A3813 #2F6622 #449431 #5AC042
Accessibility & contrast
On white
6.90
#2F6622 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2F6622 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6622
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6622 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6622 | 1.00 | 6.90 | 3.04 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D1A
Deuteranopia (green-blind)
#625828
Tritanopia (blue-blind)
#296358
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f6622; /* rgb */ color: rgb(47, 102, 34); /* oklch */ color: oklch(45.7% 0.116 140.0);
Tailwind
colors: {
custom: {
50: '#6d9260',
500: '#2f6622',
950: '#000000',
},
}SCSS
$custom: #2f6622; $custom-light: #6d9260; $custom-dark: #000000;
JSON
{
"hex": "#2f6622",
"rgb": {
"r": 47,
"g": 102,
"b": 34
},
"hsl": {
"h": 108.529,
"s": 50,
"l": 26.667
},
"oklch": {
"l": 0.45672,
"c": 0.1159,
"h": 140
},
"luminance": 0.10223
}Semantic roles & 50–950 ramp
primary
#2F6622
secondary
#8B4A9A
accent
#4EDABF
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79