#306718#306718
#306718 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.124 H 138.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #306718 |
|---|---|
| RGB | rgb(48, 103, 24) |
| HSL | hsl(102, 62%, 25%) |
| HSV | hsv(102, 77%, 40%) |
| CMYK | cmyk(53.4%, 0%, 76.7%, 59.6%) |
| CIE-LAB | lab(38.54, -33.45, 36.88) |
| CIE-LCH | lch(38.54, 49.79, 132.21°) |
| OKLab | oklab(45.91% -0.0925 0.0833) |
| OKLCH | oklch(45.91% 0.124 138) |
| XYZ | xyz(6.2338, 10.3944, 2.5418) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.01
Deep Green
#02590F
ΔE00 6.00
Forest Green
#2D5A27
ΔE00 6.30
Forest
#0B5509
ΔE00 6.60
Camouflage Green
#4B6113
ΔE00 6.78
Camo Green
#526525
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306718 #4F1867
analogous
#586718 #306718 #186727
triadic
#306718 #183067 #671830
tetradic
#306718 #185867 #4F1867 #672718
square
#306718 #185867 #4F1867 #672718
split-complementary
#306718 #271867 #671858
monochromatic
#0C1906 #19350C #306718 #479924 #5ECA2F
Accessibility & contrast
On white
6.82
#306718 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#306718 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306718
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306718 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306718 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5E0A
Deuteranopia (green-blind)
#635920
Tritanopia (blue-blind)
#2C6358
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #306718; /* rgb */ color: rgb(48, 103, 24); /* oklch */ color: oklch(45.9% 0.124 138.0);
Tailwind
colors: {
custom: {
50: '#6f935b',
500: '#306718',
950: '#000000',
},
}SCSS
$custom: #306718; $custom-light: #6f935b; $custom-dark: #000000;
JSON
{
"hex": "#306718",
"rgb": {
"r": 48,
"g": 103,
"b": 24
},
"hsl": {
"h": 101.772,
"s": 62.205,
"l": 24.902
},
"oklch": {
"l": 0.45905,
"c": 0.12443,
"h": 138
},
"luminance": 0.10395
}Semantic roles & 50–950 ramp
primary
#306718
secondary
#803E9D
accent
#43E5B4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79