#306C1F#306C1F
#306C1F is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.126 H 139.5°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #306C1F |
|---|---|
| RGB | rgb(48, 108, 31) |
| HSL | hsl(107, 55%, 27%) |
| HSV | hsv(107, 71%, 42%) |
| CMYK | cmyk(55.6%, 0%, 71.3%, 57.6%) |
| CIE-LAB | lab(40.33, -34.95, 35.75) |
| CIE-LCH | lch(40.33, 49.99, 134.35°) |
| OKLab | oklab(47.4% -0.096 0.0819) |
| OKLCH | oklch(47.4% 0.126 139.5) |
| XYZ | xyz(6.8285, 11.4519, 3.1467) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.68
Darkish Green
#287C37
ΔE00 6.37
Tree Green
#2A7E19
ΔE00 6.53
Deep Green
#02590F
ΔE00 7.07
Forest Green
#2D5A27
ΔE00 7.18
Darkolivegreen
#556B2F
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306C1F #5B1F6C
analogous
#576C1F #306C1F #1F6C34
triadic
#306C1F #1F306C #6C1F30
tetradic
#306C1F #1F576C #5B1F6C #6C341F
square
#306C1F #1F576C #5B1F6C #6C341F
split-complementary
#306C1F #341F6C #6C1F57
monochromatic
#0B1807 #1B3C11 #306C1F #459C2D #5CC83E
Accessibility & contrast
On white
6.38
#306C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#306C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306C1F
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306C1F | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6214
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#2A685C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #306c1f; /* rgb */ color: rgb(48, 108, 31); /* oklch */ color: oklch(47.4% 0.126 139.5);
Tailwind
colors: {
custom: {
50: '#6f975f',
500: '#306c1f',
950: '#000000',
},
}SCSS
$custom: #306c1f; $custom-light: #6f975f; $custom-dark: #000000;
JSON
{
"hex": "#306c1f",
"rgb": {
"r": 48,
"g": 108,
"b": 31
},
"hsl": {
"h": 106.753,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.47396,
"c": 0.1262,
"h": 139.5
},
"luminance": 0.11452
}Semantic roles & 50–950 ramp
primary
#306C1F
secondary
#8C47A0
accent
#49DFBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D05
muted
#7B7E79