#2F6815#2F6815
#2F6815 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.128 H 138.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6815 |
|---|---|
| RGB | rgb(47, 104, 21) |
| HSL | hsl(101, 66%, 25%) |
| HSV | hsv(101, 80%, 41%) |
| CMYK | cmyk(54.8%, 0%, 79.8%, 59.2%) |
| CIE-LAB | lab(38.83, -34.43, 38.32) |
| CIE-LCH | lch(38.83, 51.51, 131.94°) |
| OKLab | oklab(46.12% -0.0952 0.0858) |
| OKLCH | oklch(46.12% 0.128 138) |
| XYZ | xyz(6.2577, 10.5586, 2.4176) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.84
Deep Green
#02590F
ΔE00 6.27
Forest Green
#2D5A27
ΔE00 6.87
Forest
#0B5509
ΔE00 6.89
Camouflage Green
#4B6113
ΔE00 6.91
Darkolivegreen
#556B2F
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6815 #4E1568
analogous
#596815 #2F6815 #156825
triadic
#2F6815 #152F68 #68152F
tetradic
#2F6815 #155968 #4E1568 #682515
square
#2F6815 #155968 #4E1568 #682515
split-complementary
#2F6815 #251568 #681559
monochromatic
#0C1905 #18350B #2F6815 #469B1F #5DCE2A
Accessibility & contrast
On white
6.75
#2F6815 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2F6815 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6815
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6815 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6815 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5E04
Deuteranopia (green-blind)
#645A1E
Tritanopia (blue-blind)
#2B6458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f6815; /* rgb */ color: rgb(47, 104, 21); /* oklch */ color: oklch(46.1% 0.128 138.0);
Tailwind
colors: {
custom: {
50: '#6e9459',
500: '#2f6815',
950: '#000000',
},
}SCSS
$custom: #2f6815; $custom-light: #6e9459; $custom-dark: #000000;
JSON
{
"hex": "#2f6815",
"rgb": {
"r": 47,
"g": 104,
"b": 21
},
"hsl": {
"h": 101.205,
"s": 66.4,
"l": 24.51
},
"oklch": {
"l": 0.46122,
"c": 0.12819,
"h": 138
},
"luminance": 0.10559
}Semantic roles & 50–950 ramp
primary
#2F6815
secondary
#7F3A9F
accent
#3EE9B4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79