#306615#306615
#306615 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.125 H 137.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #306615 |
|---|---|
| RGB | rgb(48, 102, 21) |
| HSL | hsl(100, 66%, 24%) |
| HSV | hsv(100, 79%, 40%) |
| CMYK | cmyk(52.9%, 0%, 79.4%, 60%) |
| CIE-LAB | lab(38.17, -33.25, 37.69) |
| CIE-LCH | lch(38.17, 50.26, 131.42°) |
| OKLab | oklab(45.6% -0.0921 0.0845) |
| OKLCH | oklch(45.6% 0.125 137.5) |
| XYZ | xyz(6.1055, 10.1848, 2.3535) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.93
Deep Green
#02590F
ΔE00 5.91
Forest Green
#2D5A27
ΔE00 6.34
Forest
#0B5509
ΔE00 6.42
Camouflage Green
#4B6113
ΔE00 6.51
Navy Green
#35530A
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306615 #4B1566
analogous
#596615 #306615 #156623
triadic
#306615 #153066 #661530
tetradic
#306615 #155966 #4B1566 #662315
square
#306615 #155966 #4B1566 #662315
split-complementary
#306615 #231566 #661559
monochromatic
#0C1905 #18330B #306615 #48991F #60CC2A
Accessibility & contrast
On white
6.91
#306615 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#306615 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306615
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306615 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306615 | 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)
#6A5D05
Deuteranopia (green-blind)
#63581D
Tritanopia (blue-blind)
#2C6257
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #306615; /* rgb */ color: rgb(48, 102, 21); /* oklch */ color: oklch(45.6% 0.125 137.5);
Tailwind
colors: {
custom: {
50: '#6f9259',
500: '#306615',
950: '#000000',
},
}SCSS
$custom: #306615; $custom-light: #6f9259; $custom-dark: #000000;
JSON
{
"hex": "#306615",
"rgb": {
"r": 48,
"g": 102,
"b": 21
},
"hsl": {
"h": 100,
"s": 65.854,
"l": 24.118
},
"oklch": {
"l": 0.45595,
"c": 0.12501,
"h": 137.5
},
"luminance": 0.10185
}Semantic roles & 50–950 ramp
primary
#306615
secondary
#7C3A9D
accent
#3FE9B0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79