#2F6D1F#2F6D1F
#2F6D1F is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.6% C 0.128 H 139.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6D1F |
|---|---|
| RGB | rgb(47, 109, 31) |
| HSL | hsl(108, 56%, 27%) |
| HSV | hsv(108, 72%, 43%) |
| CMYK | cmyk(56.9%, 0%, 71.6%, 57.3%) |
| CIE-LAB | lab(40.64, -35.67, 36.06) |
| CIE-LCH | lch(40.64, 50.72, 134.69°) |
| OKLab | oklab(47.64% -0.0979 0.0826) |
| OKLCH | oklch(47.64% 0.128 139.9) |
| XYZ | xyz(6.8880, 11.6400, 3.1798) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.73
Darkish Green
#287C37
ΔE00 6.07
Tree Green
#2A7E19
ΔE00 6.17
Deep Green
#02590F
ΔE00 7.28
Forest Green
#2D5A27
ΔE00 7.50
Darkolivegreen
#556B2F
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6D1F #5D1F6D
analogous
#566D1F #2F6D1F #1F6D36
triadic
#2F6D1F #1F2F6D #6D1F2F
tetradic
#2F6D1F #1F566D #5D1F6D #6D361F
square
#2F6D1F #1F566D #5D1F6D #6D361F
split-complementary
#2F6D1F #361F6D #6D1F56
monochromatic
#0A1807 #1A3D11 #2F6D1F #449D2D #5BC83E
Accessibility & contrast
On white
6.31
#2F6D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#2F6D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6D1F
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6D1F | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#28695D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f6d1f; /* rgb */ color: rgb(47, 109, 31); /* oklch */ color: oklch(47.6% 0.128 139.9);
Tailwind
colors: {
custom: {
50: '#6f975f',
500: '#2f6d1f',
950: '#000000',
},
}SCSS
$custom: #2f6d1f; $custom-light: #6f975f; $custom-dark: #000000;
JSON
{
"hex": "#2f6d1f",
"rgb": {
"r": 47,
"g": 109,
"b": 31
},
"hsl": {
"h": 107.692,
"s": 55.714,
"l": 27.451
},
"oklch": {
"l": 0.47638,
"c": 0.12808,
"h": 139.9
},
"luminance": 0.11641
}Semantic roles & 50–950 ramp
primary
#2F6D1F
secondary
#8F47A1
accent
#49DFC0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79