#306C1B#306C1B
#306C1B is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.4% C 0.129 H 138.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #306C1B |
|---|---|
| RGB | rgb(48, 108, 27) |
| HSL | hsl(104, 60%, 26%) |
| HSV | hsv(104, 75%, 42%) |
| CMYK | cmyk(55.6%, 0%, 75%, 57.6%) |
| CIE-LAB | lab(40.30, -35.31, 37.43) |
| CIE-LCH | lch(40.30, 51.46, 133.33°) |
| OKLab | oklab(47.36% -0.0973 0.0849) |
| OKLCH | oklch(47.36% 0.129 138.9) |
| XYZ | xyz(6.7791, 11.4321, 2.8861) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.49
Tree Green
#2A7E19
ΔE00 6.37
Darkish Green
#287C37
ΔE00 6.70
Deep Green
#02590F
ΔE00 7.18
Darkolivegreen
#556B2F
ΔE00 7.37
Forest Green
#2D5A27
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306C1B #571B6C
analogous
#596C1B #306C1B #1B6C2F
triadic
#306C1B #1B306C #6C1B30
tetradic
#306C1B #1B596C #571B6C #6C2F1B
square
#306C1B #1B596C #571B6C #6C2F1B
split-complementary
#306C1B #2F1B6C #6C1B59
monochromatic
#0B1806 #1A3B0F #306C1B #469D27 #5CCC35
Accessibility & contrast
On white
6.39
#306C1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#306C1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306C1B
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306C1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306C1B | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F620D
Deuteranopia (green-blind)
#685D23
Tritanopia (blue-blind)
#2A685C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #306c1b; /* rgb */ color: rgb(48, 108, 27); /* oklch */ color: oklch(47.4% 0.129 138.9);
Tailwind
colors: {
custom: {
50: '#6f975d',
500: '#306c1b',
950: '#000000',
},
}SCSS
$custom: #306c1b; $custom-light: #6f975d; $custom-dark: #000000;
JSON
{
"hex": "#306c1b",
"rgb": {
"r": 48,
"g": 108,
"b": 27
},
"hsl": {
"h": 104.444,
"s": 60,
"l": 26.471
},
"oklch": {
"l": 0.47359,
"c": 0.1291,
"h": 138.9
},
"luminance": 0.11433
}Semantic roles & 50–950 ramp
primary
#306C1B
secondary
#8842A1
accent
#45E3BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79