#306617#306617
#306617 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.124 H 137.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #306617 |
|---|---|
| RGB | rgb(48, 102, 23) |
| HSL | hsl(101, 63%, 25%) |
| HSV | hsv(101, 77%, 40%) |
| CMYK | cmyk(52.9%, 0%, 77.5%, 60%) |
| CIE-LAB | lab(38.19, -33.10, 36.92) |
| CIE-LCH | lch(38.19, 49.59, 131.88°) |
| OKLab | oklab(45.61% -0.0916 0.0832) |
| OKLCH | oklch(45.61% 0.124 137.8) |
| XYZ | xyz(6.1247, 10.1925, 2.4551) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.98
Deep Green
#02590F
ΔE00 5.82
Forest Green
#2D5A27
ΔE00 6.12
Forest
#0B5509
ΔE00 6.36
Camouflage Green
#4B6113
ΔE00 6.61
Navy Green
#35530A
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306617 #4D1766
analogous
#586617 #306617 #176626
triadic
#306617 #173066 #661730
tetradic
#306617 #175866 #4D1766 #662617
square
#306617 #175866 #4D1766 #662617
split-complementary
#306617 #261766 #661758
monochromatic
#0C1906 #18340C #306617 #489822 #5FCA2E
Accessibility & contrast
On white
6.91
#306617 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#306617 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306617
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306617 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306617 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D08
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#2C6257
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #306617; /* rgb */ color: rgb(48, 102, 23); /* oklch */ color: oklch(45.6% 0.124 137.8);
Tailwind
colors: {
custom: {
50: '#6e925a',
500: '#306617',
950: '#000000',
},
}SCSS
$custom: #306617; $custom-light: #6e925a; $custom-dark: #000000;
JSON
{
"hex": "#306617",
"rgb": {
"r": 48,
"g": 102,
"b": 23
},
"hsl": {
"h": 101.013,
"s": 63.2,
"l": 24.51
},
"oklch": {
"l": 0.4561,
"c": 0.12374,
"h": 137.8
},
"luminance": 0.10193
}Semantic roles & 50–950 ramp
primary
#306617
secondary
#7E3C9C
accent
#42E6B2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79