#306D2F#306D2F
#306D2F is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.9% C 0.114 H 143.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #306D2F |
|---|---|
| RGB | rgb(48, 109, 47) |
| HSL | hsl(119, 40%, 31%) |
| HSV | hsv(119, 57%, 43%) |
| CMYK | cmyk(56%, 0%, 56.9%, 57.3%) |
| CIE-LAB | lab(40.85, -33.47, 28.45) |
| CIE-LCH | lch(40.85, 43.93, 139.63°) |
| OKLab | oklab(47.88% -0.0911 0.068) |
| OKLCH | oklch(47.88% 0.114 143.3) |
| XYZ | xyz(7.2003, 11.7703, 4.5812) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.29
Forest Green
#2D5A27
ΔE00 6.43
Darkgreen
#006400
ΔE00 6.51
Pine
#2B5D34
ΔE00 6.73
Deep Green
#02590F
ΔE00 7.61
Tree Green
#2A7E19
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306D2F #6C2F6D
analogous
#4F6D2F #306D2F #2F6D4D
triadic
#306D2F #2F306D #6D2F30
tetradic
#306D2F #2F4F6D #6C2F6D #6D4D2F
square
#306D2F #2F4F6D #6C2F6D #6D4D2F
split-complementary
#306D2F #4D2F6D #6D2F4F
monochromatic
#0A170A #1D421D #306D2F #439841 #5FB95D
Accessibility & contrast
On white
6.26
#306D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#306D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306D2F
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306D2F | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6429
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#276A5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #306d2f; /* rgb */ color: rgb(48, 109, 47); /* oklch */ color: oklch(47.9% 0.114 143.3);
Tailwind
colors: {
custom: {
50: '#6e9769',
500: '#306d2f',
950: '#000000',
},
}SCSS
$custom: #306d2f; $custom-light: #6e9769; $custom-dark: #000000;
JSON
{
"hex": "#306d2f",
"rgb": {
"r": 48,
"g": 109,
"b": 47
},
"hsl": {
"h": 119.032,
"s": 39.744,
"l": 30.588
},
"oklch": {
"l": 0.47877,
"c": 0.11361,
"h": 143.3
},
"luminance": 0.11771
}Semantic roles & 50–950 ramp
primary
#306D2F
secondary
#9D599E
accent
#58D0CE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A