#306D1F#306D1F
#306D1F is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.128 H 139.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #306D1F |
|---|---|
| RGB | rgb(48, 109, 31) |
| HSL | hsl(107, 56%, 27%) |
| HSV | hsv(107, 72%, 43%) |
| CMYK | cmyk(56%, 0%, 71.6%, 57.3%) |
| CIE-LAB | lab(40.68, -35.37, 36.11) |
| CIE-LCH | lch(40.68, 50.55, 134.40°) |
| OKLab | oklab(47.68% -0.0972 0.0827) |
| OKLCH | oklch(47.68% 0.128 139.6) |
| XYZ | xyz(6.9346, 11.6640, 3.1820) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.81
Darkish Green
#287C37
ΔE00 6.12
Tree Green
#2A7E19
ΔE00 6.18
Deep Green
#02590F
ΔE00 7.35
Darkolivegreen
#556B2F
ΔE00 7.39
Forest Green
#2D5A27
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306D1F #5C1F6D
analogous
#576D1F #306D1F #1F6D35
triadic
#306D1F #1F306D #6D1F30
tetradic
#306D1F #1F576D #5C1F6D #6D351F
square
#306D1F #1F576D #5C1F6D #6D351F
split-complementary
#306D1F #351F6D #6D1F57
monochromatic
#0A1807 #1B3D11 #306D1F #459D2D #5CC83E
Accessibility & contrast
On white
6.30
#306D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#306D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306D1F
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306D1F | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#685E26
Tritanopia (blue-blind)
#2A695D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #306d1f; /* rgb */ color: rgb(48, 109, 31); /* oklch */ color: oklch(47.7% 0.128 139.6);
Tailwind
colors: {
custom: {
50: '#6f975f',
500: '#306d1f',
950: '#000000',
},
}SCSS
$custom: #306d1f; $custom-light: #6f975f; $custom-dark: #000000;
JSON
{
"hex": "#306d1f",
"rgb": {
"r": 48,
"g": 109,
"b": 31
},
"hsl": {
"h": 106.923,
"s": 55.714,
"l": 27.451
},
"oklch": {
"l": 0.47681,
"c": 0.12757,
"h": 139.6
},
"luminance": 0.11665
}Semantic roles & 50–950 ramp
primary
#306D1F
secondary
#8D47A1
accent
#49DFBE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D05
muted
#7B7E79