#306D1E#306D1E
#306D1E is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.128 H 139.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #306D1E |
|---|---|
| RGB | rgb(48, 109, 30) |
| HSL | hsl(106, 57%, 27%) |
| HSV | hsv(106, 72%, 43%) |
| CMYK | cmyk(56%, 0%, 72.5%, 57.3%) |
| CIE-LAB | lab(40.67, -35.46, 36.54) |
| CIE-LCH | lch(40.67, 50.92, 134.14°) |
| OKLab | oklab(47.67% -0.0975 0.0834) |
| OKLCH | oklch(47.67% 0.128 139.4) |
| XYZ | xyz(6.9216, 11.6588, 3.1137) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.76
Tree Green
#2A7E19
ΔE00 6.13
Darkish Green
#287C37
ΔE00 6.21
Deep Green
#02590F
ΔE00 7.37
Darkolivegreen
#556B2F
ΔE00 7.40
Forest Green
#2D5A27
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306D1E #5B1E6D
analogous
#586D1E #306D1E #1E6D33
triadic
#306D1E #1E306D #6D1E30
tetradic
#306D1E #1E586D #5B1E6D #6D331E
square
#306D1E #1E586D #5B1E6D #6D331E
split-complementary
#306D1E #331E6D #6D1E58
monochromatic
#0B1807 #1B3D11 #306D1E #459D2B #5CC93C
Accessibility & contrast
On white
6.30
#306D1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#306D1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306D1E
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306D1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306D1E | 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)
#706312
Deuteranopia (green-blind)
#685E25
Tritanopia (blue-blind)
#2A695D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #306d1e; /* rgb */ color: rgb(48, 109, 30); /* oklch */ color: oklch(47.7% 0.128 139.4);
Tailwind
colors: {
custom: {
50: '#6f975f',
500: '#306d1e',
950: '#000000',
},
}SCSS
$custom: #306d1e; $custom-light: #6f975f; $custom-dark: #000000;
JSON
{
"hex": "#306d1e",
"rgb": {
"r": 48,
"g": 109,
"b": 30
},
"hsl": {
"h": 106.329,
"s": 56.835,
"l": 27.255
},
"oklch": {
"l": 0.47671,
"c": 0.12831,
"h": 139.4
},
"luminance": 0.11659
}Semantic roles & 50–950 ramp
primary
#306D1E
secondary
#8C45A1
accent
#48E0BD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D05
muted
#7B7E79