#2F6515#2F6515
#2F6515 is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.3% C 0.124 H 137.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6515 |
|---|---|
| RGB | rgb(47, 101, 21) |
| HSL | hsl(101, 66%, 24%) |
| HSV | hsv(101, 79%, 40%) |
| CMYK | cmyk(53.5%, 0%, 79.2%, 60.4%) |
| CIE-LAB | lab(37.78, -33.16, 37.29) |
| CIE-LCH | lch(37.78, 49.90, 131.64°) |
| OKLab | oklab(45.26% -0.0918 0.0837) |
| OKLCH | oklch(45.26% 0.124 137.7) |
| XYZ | xyz(5.9611, 9.9654, 2.3187) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.83
Deep Green
#02590F
ΔE00 5.59
Forest Green
#2D5A27
ΔE00 6.04
Forest
#0B5509
ΔE00 6.07
Camouflage Green
#4B6113
ΔE00 6.55
Navy Green
#35530A
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6515 #4B1565
analogous
#576515 #2F6515 #156523
triadic
#2F6515 #152F65 #65152F
tetradic
#2F6515 #155765 #4B1565 #652315
square
#2F6515 #155765 #4B1565 #652315
split-complementary
#2F6515 #231565 #651557
monochromatic
#0C1905 #17320A #2F6515 #479820 #5ECA2A
Accessibility & contrast
On white
7.02
#2F6515 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2F6515 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F6515
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6515 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6515 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C05
Deuteranopia (green-blind)
#61571D
Tritanopia (blue-blind)
#2B6156
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f6515; /* rgb */ color: rgb(47, 101, 21); /* oklch */ color: oklch(45.3% 0.124 137.7);
Tailwind
colors: {
custom: {
50: '#6e9159',
500: '#2f6515',
950: '#000000',
},
}SCSS
$custom: #2f6515; $custom-light: #6e9159; $custom-dark: #000000;
JSON
{
"hex": "#2f6515",
"rgb": {
"r": 47,
"g": 101,
"b": 21
},
"hsl": {
"h": 100.5,
"s": 65.574,
"l": 23.922
},
"oklch": {
"l": 0.4526,
"c": 0.12422,
"h": 137.7
},
"luminance": 0.09966
}Semantic roles & 50–950 ramp
primary
#2F6515
secondary
#7C3A9C
accent
#3FE9B2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79