#306A1C#306A1C
#306A1C is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.8% C 0.126 H 138.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #306A1C |
|---|---|
| RGB | rgb(48, 106, 28) |
| HSL | hsl(105, 58%, 26%) |
| HSV | hsv(105, 74%, 42%) |
| CMYK | cmyk(54.7%, 0%, 73.6%, 58.4%) |
| CIE-LAB | lab(39.61, -34.39, 36.31) |
| CIE-LCH | lch(39.61, 50.00, 133.44°) |
| OKLab | oklab(46.8% -0.0947 0.0827) |
| OKLCH | oklch(46.8% 0.126 138.9) |
| XYZ | xyz(6.5823, 11.0198, 2.8786) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.31
Deep Green
#02590F
ΔE00 6.61
Forest Green
#2D5A27
ΔE00 6.80
Tree Green
#2A7E19
ΔE00 7.09
Darkish Green
#287C37
ΔE00 7.11
Darkolivegreen
#556B2F
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306A1C #561C6A
analogous
#576A1C #306A1C #1C6A2F
triadic
#306A1C #1C306A #6A1C30
tetradic
#306A1C #1C576A #561C6A #6A2F1C
square
#306A1C #1C576A #561C6A #6A2F1C
split-complementary
#306A1C #2F1C6A #6A1C57
monochromatic
#0B1806 #1A3A0F #306A1C #469A29 #5CCA36
Accessibility & contrast
On white
6.55
#306A1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#306A1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306A1C
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306A1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306A1C | 1.00 | 6.55 | 3.20 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6010
Deuteranopia (green-blind)
#665B23
Tritanopia (blue-blind)
#2B665A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #306a1c; /* rgb */ color: rgb(48, 106, 28); /* oklch */ color: oklch(46.8% 0.126 138.9);
Tailwind
colors: {
custom: {
50: '#6f955d',
500: '#306a1c',
950: '#000000',
},
}SCSS
$custom: #306a1c; $custom-light: #6f955d; $custom-dark: #000000;
JSON
{
"hex": "#306a1c",
"rgb": {
"r": 48,
"g": 106,
"b": 28
},
"hsl": {
"h": 104.615,
"s": 58.209,
"l": 26.275
},
"oklch": {
"l": 0.46797,
"c": 0.12571,
"h": 138.9
},
"luminance": 0.1102
}Semantic roles & 50–950 ramp
primary
#306A1C
secondary
#87439F
accent
#46E1BA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080D04
muted
#7B7E79