#2F671B#2F671B
#2F671B is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.123 H 138.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F671B |
|---|---|
| RGB | rgb(47, 103, 27) |
| HSL | hsl(104, 58%, 25%) |
| HSV | hsv(104, 74%, 40%) |
| CMYK | cmyk(54.4%, 0%, 73.8%, 59.6%) |
| CIE-LAB | lab(38.52, -33.52, 35.59) |
| CIE-LCH | lch(38.52, 48.89, 133.28°) |
| OKLab | oklab(45.89% -0.0924 0.081) |
| OKLCH | oklch(45.89% 0.123 138.7) |
| XYZ | xyz(6.2201, 10.3835, 2.7131) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.03
Deep Green
#02590F
ΔE00 5.80
Forest Green
#2D5A27
ΔE00 5.95
Forest
#0B5509
ΔE00 6.47
Camouflage Green
#4B6113
ΔE00 7.10
Darkolivegreen
#556B2F
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F671B #531B67
analogous
#55671B #2F671B #1B672D
triadic
#2F671B #1B2F67 #671B2F
tetradic
#2F671B #1B5567 #531B67 #672D1B
square
#2F671B #1B5567 #531B67 #672D1B
split-complementary
#2F671B #2D1B67 #671B55
monochromatic
#0B1806 #19370E #2F671B #459728 #5BC834
Accessibility & contrast
On white
6.83
#2F671B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2F671B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F671B
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F671B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F671B | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E0F
Deuteranopia (green-blind)
#635922
Tritanopia (blue-blind)
#2A6358
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f671b; /* rgb */ color: rgb(47, 103, 27); /* oklch */ color: oklch(45.9% 0.123 138.7);
Tailwind
colors: {
custom: {
50: '#6e935c',
500: '#2f671b',
950: '#000000',
},
}SCSS
$custom: #2f671b; $custom-light: #6e935c; $custom-dark: #000000;
JSON
{
"hex": "#2f671b",
"rgb": {
"r": 47,
"g": 103,
"b": 27
},
"hsl": {
"h": 104.211,
"s": 58.462,
"l": 25.49
},
"oklch": {
"l": 0.45885,
"c": 0.12286,
"h": 138.7
},
"luminance": 0.10384
}Semantic roles & 50–950 ramp
primary
#2F671B
secondary
#84429C
accent
#46E2B9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79