#2F661B#2F661B
#2F661B is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.121 H 138.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F661B |
|---|---|
| RGB | rgb(47, 102, 27) |
| HSL | hsl(104, 58%, 25%) |
| HSV | hsv(104, 74%, 40%) |
| CMYK | cmyk(53.9%, 0%, 73.5%, 60%) |
| CIE-LAB | lab(38.17, -33.09, 35.22) |
| CIE-LCH | lch(38.17, 48.33, 133.21°) |
| OKLab | oklab(45.6% -0.0912 0.0803) |
| OKLCH | oklch(45.6% 0.121 138.7) |
| XYZ | xyz(6.1213, 10.1858, 2.6802) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.05
Deep Green
#02590F
ΔE00 5.57
Forest Green
#2D5A27
ΔE00 5.64
Forest
#0B5509
ΔE00 6.21
Camouflage Green
#4B6113
ΔE00 7.00
Navy Green
#35530A
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F661B #521B66
analogous
#54661B #2F661B #1B662C
triadic
#2F661B #1B2F66 #661B2F
tetradic
#2F661B #1B5466 #521B66 #662C1B
square
#2F661B #1B5466 #521B66 #662C1B
split-complementary
#2F661B #2C1B66 #661B54
monochromatic
#0B1806 #19360E #2F661B #459628 #5CC735
Accessibility & contrast
On white
6.91
#2F661B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#2F661B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F661B
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F661B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F661B | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D10
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#2A6257
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2f661b; /* rgb */ color: rgb(47, 102, 27); /* oklch */ color: oklch(45.6% 0.121 138.7);
Tailwind
colors: {
custom: {
50: '#6e925c',
500: '#2f661b',
950: '#000000',
},
}SCSS
$custom: #2f661b; $custom-light: #6e925c; $custom-dark: #000000;
JSON
{
"hex": "#2f661b",
"rgb": {
"r": 47,
"g": 102,
"b": 27
},
"hsl": {
"h": 104,
"s": 58.14,
"l": 25.294
},
"oklch": {
"l": 0.45598,
"c": 0.12149,
"h": 138.7
},
"luminance": 0.10186
}Semantic roles & 50–950 ramp
primary
#2F661B
secondary
#83419B
accent
#46E1B8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79