#306D1C#306D1C
#306D1C is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.7% C 0.130 H 139.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #306D1C |
|---|---|
| RGB | rgb(48, 109, 28) |
| HSL | hsl(105, 59%, 27%) |
| HSV | hsv(105, 74%, 43%) |
| CMYK | cmyk(56%, 0%, 74.3%, 57.3%) |
| CIE-LAB | lab(40.65, -35.64, 37.38) |
| CIE-LCH | lch(40.65, 51.65, 133.64°) |
| OKLab | oklab(47.65% -0.0981 0.0849) |
| OKLCH | oklch(47.65% 0.13 139.1) |
| XYZ | xyz(6.8969, 11.6490, 2.9834) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.68
Tree Green
#2A7E19
ΔE00 6.05
Darkish Green
#287C37
ΔE00 6.38
Darkolivegreen
#556B2F
ΔE00 7.43
Deep Green
#02590F
ΔE00 7.43
Green
#008000
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306D1C #591C6D
analogous
#596D1C #306D1C #1C6D31
triadic
#306D1C #1C306D #6D1C30
tetradic
#306D1C #1C596D #591C6D #6D311C
square
#306D1C #1C596D #591C6D #6D311C
split-complementary
#306D1C #311C6D #6D1C59
monochromatic
#0B1806 #1B3C0F #306D1C #459E29 #5CCC38
Accessibility & contrast
On white
6.31
#306D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#306D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306D1C
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306D1C | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70630F
Deuteranopia (green-blind)
#685E24
Tritanopia (blue-blind)
#2A695D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #306d1c; /* rgb */ color: rgb(48, 109, 28); /* oklch */ color: oklch(47.7% 0.130 139.1);
Tailwind
colors: {
custom: {
50: '#6f975d',
500: '#306d1c',
950: '#000000',
},
}SCSS
$custom: #306d1c; $custom-light: #6f975d; $custom-dark: #000000;
JSON
{
"hex": "#306d1c",
"rgb": {
"r": 48,
"g": 109,
"b": 28
},
"hsl": {
"h": 105.185,
"s": 59.124,
"l": 26.863
},
"oklch": {
"l": 0.47653,
"c": 0.12975,
"h": 139.1
},
"luminance": 0.11649
}Semantic roles & 50–950 ramp
primary
#306D1C
secondary
#8A43A2
accent
#45E2BC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79