#306F17#306F17
#306F17 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.136 H 138.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #306F17 |
|---|---|
| RGB | rgb(48, 111, 23) |
| HSL | hsl(103, 66%, 26%) |
| HSV | hsv(103, 79%, 44%) |
| CMYK | cmyk(56.8%, 0%, 79.3%, 56.5%) |
| CIE-LAB | lab(41.31, -36.86, 40.01) |
| CIE-LCH | lch(41.31, 54.41, 132.65°) |
| OKLab | oklab(48.18% -0.1017 0.0897) |
| OKLCH | oklch(48.18% 0.136 138.6) |
| XYZ | xyz(7.0578, 12.0586, 2.7661) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.96
Tree Green
#2A7E19
ΔE00 5.24
Darkish Green
#287C37
ΔE00 6.41
Dark Grass Green
#388004
ΔE00 6.57
Green
#008000
ΔE00 6.65
Darkolivegreen
#556B2F
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306F17 #56176F
analogous
#5C6F17 #306F17 #176F2A
triadic
#306F17 #17306F #6F1730
tetradic
#306F17 #175C6F #56176F #6F2A17
square
#306F17 #175C6F #56176F #6F2A17
split-complementary
#306F17 #2A176F #6F175C
monochromatic
#0B1905 #1A3C0C #306F17 #46A222 #5CD32D
Accessibility & contrast
On white
6.16
#306F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#306F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306F17
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306F17 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#6B5F20
Tritanopia (blue-blind)
#2A6B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #306f17; /* rgb */ color: rgb(48, 111, 23); /* oklch */ color: oklch(48.2% 0.136 138.6);
Tailwind
colors: {
custom: {
50: '#70995b',
500: '#306f17',
950: '#000000',
},
}SCSS
$custom: #306f17; $custom-light: #70995b; $custom-dark: #000000;
JSON
{
"hex": "#306f17",
"rgb": {
"r": 48,
"g": 111,
"b": 23
},
"hsl": {
"h": 102.955,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.48183,
"c": 0.1356,
"h": 138.6
},
"luminance": 0.12059
}Semantic roles & 50–950 ramp
primary
#306F17
secondary
#873DA5
accent
#3FE9B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79