#2F6B1F#2F6B1F
#2F6B1F is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.1% C 0.125 H 139.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6B1F |
|---|---|
| RGB | rgb(47, 107, 31) |
| HSL | hsl(107, 55%, 27%) |
| HSV | hsv(107, 71%, 42%) |
| CMYK | cmyk(56.1%, 0%, 71%, 58%) |
| CIE-LAB | lab(39.95, -34.84, 35.32) |
| CIE-LCH | lch(39.95, 49.61, 134.60°) |
| OKLab | oklab(47.07% -0.0956 0.081) |
| OKLCH | oklch(47.07% 0.125 139.7) |
| XYZ | xyz(6.6770, 11.2181, 3.1095) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.49
Darkish Green
#287C37
ΔE00 6.58
Deep Green
#02590F
ΔE00 6.72
Forest Green
#2D5A27
ΔE00 6.83
Tree Green
#2A7E19
ΔE00 6.87
Darkolivegreen
#556B2F
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6B1F #5B1F6B
analogous
#556B1F #2F6B1F #1F6B35
triadic
#2F6B1F #1F2F6B #6B1F2F
tetradic
#2F6B1F #1F556B #5B1F6B #6B351F
square
#2F6B1F #1F556B #5B1F6B #6B351F
split-complementary
#2F6B1F #351F6B #6B1F55
monochromatic
#0A1807 #1A3C11 #2F6B1F #449A2D #5AC73D
Accessibility & contrast
On white
6.47
#2F6B1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#2F6B1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6B1F
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6B1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6B1F | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6114
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#29675C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f6b1f; /* rgb */ color: rgb(47, 107, 31); /* oklch */ color: oklch(47.1% 0.125 139.7);
Tailwind
colors: {
custom: {
50: '#6e965f',
500: '#2f6b1f',
950: '#000000',
},
}SCSS
$custom: #2f6b1f; $custom-light: #6e965f; $custom-dark: #000000;
JSON
{
"hex": "#2f6b1f",
"rgb": {
"r": 47,
"g": 107,
"b": 31
},
"hsl": {
"h": 107.368,
"s": 55.072,
"l": 27.059
},
"oklch": {
"l": 0.47067,
"c": 0.12534,
"h": 139.7
},
"luminance": 0.11219
}Semantic roles & 50–950 ramp
primary
#2F6B1F
secondary
#8D479F
accent
#49DEBF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79