#2F6715#2F6715
#2F6715 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.127 H 137.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6715 |
|---|---|
| RGB | rgb(47, 103, 21) |
| HSL | hsl(101, 66%, 24%) |
| HSV | hsv(101, 80%, 40%) |
| CMYK | cmyk(54.4%, 0%, 79.6%, 59.6%) |
| CIE-LAB | lab(38.48, -34.01, 37.98) |
| CIE-LCH | lch(38.48, 50.97, 131.84°) |
| OKLab | oklab(45.84% -0.0941 0.0851) |
| OKLCH | oklch(45.84% 0.127 137.9) |
| XYZ | xyz(6.1577, 10.3585, 2.3842) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.80
Deep Green
#02590F
ΔE00 6.03
Forest Green
#2D5A27
ΔE00 6.59
Forest
#0B5509
ΔE00 6.61
Camouflage Green
#4B6113
ΔE00 6.78
Navy Green
#35530A
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6715 #4D1567
analogous
#586715 #2F6715 #156724
triadic
#2F6715 #152F67 #67152F
tetradic
#2F6715 #155867 #4D1567 #672415
square
#2F6715 #155867 #4D1567 #672415
split-complementary
#2F6715 #241567 #671558
monochromatic
#0C1905 #18340B #2F6715 #469A1F #5DCD2A
Accessibility & contrast
On white
6.84
#2F6715 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2F6715 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6715
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6715 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6715 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D04
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#2B6357
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f6715; /* rgb */ color: rgb(47, 103, 21); /* oklch */ color: oklch(45.8% 0.127 137.9);
Tailwind
colors: {
custom: {
50: '#6e9359',
500: '#2f6715',
950: '#000000',
},
}SCSS
$custom: #2f6715; $custom-light: #6e9359; $custom-dark: #000000;
JSON
{
"hex": "#2f6715",
"rgb": {
"r": 47,
"g": 103,
"b": 21
},
"hsl": {
"h": 100.976,
"s": 66.129,
"l": 24.314
},
"oklch": {
"l": 0.45835,
"c": 0.12687,
"h": 137.9
},
"luminance": 0.10359
}Semantic roles & 50–950 ramp
primary
#2F6715
secondary
#7E3A9E
accent
#3FE9B3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79