#306C2F#306C2F
#306C2F is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.6% C 0.112 H 143.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #306C2F |
|---|---|
| RGB | rgb(48, 108, 47) |
| HSL | hsl(119, 39%, 30%) |
| HSV | hsv(119, 56%, 42%) |
| CMYK | cmyk(55.6%, 0%, 56.5%, 57.6%) |
| CIE-LAB | lab(40.51, -33.04, 28.04) |
| CIE-LCH | lch(40.51, 43.33, 139.68°) |
| OKLab | oklab(47.6% -0.0899 0.067) |
| OKLCH | oklch(47.6% 0.112 143.3) |
| XYZ | xyz(7.0942, 11.5582, 4.5459) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.63
Forest Green
#2D5A27
ΔE00 6.08
Pine
#2B5D34
ΔE00 6.38
Darkgreen
#006400
ΔE00 6.49
Deep Green
#02590F
ΔE00 7.39
Hunter Green
#355E3B
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306C2F #6B2F6C
analogous
#4E6C2F #306C2F #2F6C4C
triadic
#306C2F #2F306C #6C2F30
tetradic
#306C2F #2F4E6C #6B2F6C #6C4C2F
square
#306C2F #2F4E6C #6B2F6C #6C4C2F
split-complementary
#306C2F #4C2F6C #6C2F4E
monochromatic
#0A170A #1D411C #306C2F #439742 #5EB85D
Accessibility & contrast
On white
6.34
#306C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#306C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306C2F
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306C2F | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6329
Deuteranopia (green-blind)
#665D33
Tritanopia (blue-blind)
#27695E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #306c2f; /* rgb */ color: rgb(48, 108, 47); /* oklch */ color: oklch(47.6% 0.112 143.3);
Tailwind
colors: {
custom: {
50: '#6e9769',
500: '#306c2f',
950: '#000000',
},
}SCSS
$custom: #306c2f; $custom-light: #6e9769; $custom-dark: #000000;
JSON
{
"hex": "#306c2f",
"rgb": {
"r": 48,
"g": 108,
"b": 47
},
"hsl": {
"h": 119.016,
"s": 39.355,
"l": 30.392
},
"oklch": {
"l": 0.47595,
"c": 0.11211,
"h": 143.3
},
"luminance": 0.11559
}Semantic roles & 50–950 ramp
primary
#306C2F
secondary
#9C599D
accent
#59CFCD
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A