#2F6A1F#2F6A1F
#2F6A1F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.8% C 0.124 H 139.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6A1F |
|---|---|
| RGB | rgb(47, 106, 31) |
| HSL | hsl(107, 55%, 27%) |
| HSV | hsv(107, 71%, 42%) |
| CMYK | cmyk(55.7%, 0%, 70.8%, 58.4%) |
| CIE-LAB | lab(39.60, -34.41, 34.95) |
| CIE-LCH | lch(39.60, 49.05, 134.55°) |
| OKLab | oklab(46.78% -0.0945 0.0802) |
| OKLCH | oklch(46.78% 0.124 139.7) |
| XYZ | xyz(6.5734, 11.0108, 3.0750) |
| Luminance | 0.1101 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.40
Deep Green
#02590F
ΔE00 6.46
Forest Green
#2D5A27
ΔE00 6.50
Darkish Green
#287C37
ΔE00 6.85
Tree Green
#2A7E19
ΔE00 7.22
Forest
#0B5509
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6A1F #5A1F6A
analogous
#556A1F #2F6A1F #1F6A35
triadic
#2F6A1F #1F2F6A #6A1F2F
tetradic
#2F6A1F #1F556A #5A1F6A #6A351F
square
#2F6A1F #1F556A #5A1F6A #6A351F
split-complementary
#2F6A1F #351F6A #6A1F55
monochromatic
#0A1807 #1A3B11 #2F6A1F #44992D #5AC63D
Accessibility & contrast
On white
6.56
#2F6A1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#2F6A1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6A1F
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6A1F | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#29665B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f6a1f; /* rgb */ color: rgb(47, 106, 31); /* oklch */ color: oklch(46.8% 0.124 139.7);
Tailwind
colors: {
custom: {
50: '#6e955f',
500: '#2f6a1f',
950: '#000000',
},
}SCSS
$custom: #2f6a1f; $custom-light: #6e955f; $custom-dark: #000000;
JSON
{
"hex": "#2f6a1f",
"rgb": {
"r": 47,
"g": 106,
"b": 31
},
"hsl": {
"h": 107.2,
"s": 54.745,
"l": 26.863
},
"oklch": {
"l": 0.46782,
"c": 0.12397,
"h": 139.7
},
"luminance": 0.11011
}Semantic roles & 50–950 ramp
primary
#2F6A1F
secondary
#8C479E
accent
#4ADEBE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D05
muted
#7B7E79