#306F15#306F15
#306F15 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.137 H 138.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #306F15 |
|---|---|
| RGB | rgb(48, 111, 21) |
| HSL | hsl(102, 68%, 26%) |
| HSV | hsv(102, 81%, 44%) |
| CMYK | cmyk(56.8%, 0%, 81.1%, 56.5%) |
| CIE-LAB | lab(41.30, -37.00, 40.72) |
| CIE-LCH | lch(41.30, 55.02, 132.26°) |
| OKLab | oklab(48.17% -0.1022 0.0908) |
| OKLCH | oklch(48.17% 0.137 138.4) |
| XYZ | xyz(7.0385, 12.0508, 2.6645) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.96
Tree Green
#2A7E19
ΔE00 5.22
Dark Grass Green
#388004
ΔE00 6.46
Darkish Green
#287C37
ΔE00 6.59
Green
#008000
ΔE00 6.59
Darkolivegreen
#556B2F
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306F15 #54156F
analogous
#5D6F15 #306F15 #156F27
triadic
#306F15 #15306F #6F1530
tetradic
#306F15 #155D6F #54156F #6F2715
square
#306F15 #155D6F #54156F #6F2715
split-complementary
#306F15 #27156F #6F155D
monochromatic
#0B1A05 #1A3C0B #306F15 #46A21F #5DD628
Accessibility & contrast
On white
6.16
#306F15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#306F15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306F15
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306F15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306F15 | 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)
#736500
Deuteranopia (green-blind)
#6B5F1F
Tritanopia (blue-blind)
#2A6B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #306f15; /* rgb */ color: rgb(48, 111, 21); /* oklch */ color: oklch(48.2% 0.137 138.4);
Tailwind
colors: {
custom: {
50: '#70995a',
500: '#306f15',
950: '#000000',
},
}SCSS
$custom: #306f15; $custom-light: #70995a; $custom-dark: #000000;
JSON
{
"hex": "#306f15",
"rgb": {
"r": 48,
"g": 111,
"b": 21
},
"hsl": {
"h": 102,
"s": 68.182,
"l": 25.882
},
"oklch": {
"l": 0.48169,
"c": 0.13675,
"h": 138.4
},
"luminance": 0.12051
}Semantic roles & 50–950 ramp
primary
#306F15
secondary
#853AA5
accent
#3DEBB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79