#2F6B18#2F6B18
#2F6B18 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.130 H 138.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6B18 |
|---|---|
| RGB | rgb(47, 107, 24) |
| HSL | hsl(103, 63%, 26%) |
| HSV | hsv(103, 78%, 42%) |
| CMYK | cmyk(56.1%, 0%, 77.6%, 58%) |
| CIE-LAB | lab(39.89, -35.45, 38.22) |
| CIE-LCH | lch(39.89, 52.13, 132.85°) |
| OKLab | oklab(47.01% -0.0978 0.0861) |
| OKLCH | oklch(47.01% 0.13 138.6) |
| XYZ | xyz(6.5946, 11.1852, 2.6754) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.18
Tree Green
#2A7E19
ΔE00 6.62
Deep Green
#02590F
ΔE00 6.93
Darkish Green
#287C37
ΔE00 7.13
Forest Green
#2D5A27
ΔE00 7.47
Darkolivegreen
#556B2F
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6B18 #54186B
analogous
#586B18 #2F6B18 #186B2A
triadic
#2F6B18 #182F6B #6B182F
tetradic
#2F6B18 #18586B #54186B #6B2A18
square
#2F6B18 #18586B #54186B #6B2A18
split-complementary
#2F6B18 #2A186B #6B1858
monochromatic
#0B1906 #19390D #2F6B18 #459D23 #5BCF2E
Accessibility & contrast
On white
6.49
#2F6B18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#2F6B18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6B18
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6B18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6B18 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6108
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#2A675B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2f6b18; /* rgb */ color: rgb(47, 107, 24); /* oklch */ color: oklch(47.0% 0.130 138.6);
Tailwind
colors: {
custom: {
50: '#6f965b',
500: '#2f6b18',
950: '#000000',
},
}SCSS
$custom: #2f6b18; $custom-light: #6f965b; $custom-dark: #000000;
JSON
{
"hex": "#2f6b18",
"rgb": {
"r": 47,
"g": 107,
"b": 24
},
"hsl": {
"h": 103.373,
"s": 63.359,
"l": 25.686
},
"oklch": {
"l": 0.47005,
"c": 0.13028,
"h": 138.6
},
"luminance": 0.11186
}Semantic roles & 50–950 ramp
primary
#2F6B18
secondary
#853EA1
accent
#41E6B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79