#306F18#306F18
#306F18 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.135 H 138.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #306F18 |
|---|---|
| RGB | rgb(48, 111, 24) |
| HSL | hsl(103, 64%, 26%) |
| HSV | hsv(103, 78%, 44%) |
| CMYK | cmyk(56.8%, 0%, 78.4%, 56.5%) |
| CIE-LAB | lab(41.32, -36.79, 39.65) |
| CIE-LCH | lch(41.32, 54.09, 132.86°) |
| OKLab | oklab(48.19% -0.1015 0.0891) |
| OKLCH | oklch(48.19% 0.135 138.7) |
| XYZ | xyz(7.0680, 12.0626, 2.8198) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.97
Tree Green
#2A7E19
ΔE00 5.26
Darkish Green
#287C37
ΔE00 6.31
Dark Grass Green
#388004
ΔE00 6.63
Green
#008000
ΔE00 6.68
Darkolivegreen
#556B2F
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306F18 #57186F
analogous
#5C6F18 #306F18 #186F2C
triadic
#306F18 #18306F #6F1830
tetradic
#306F18 #185C6F #57186F #6F2C18
square
#306F18 #185C6F #57186F #6F2C18
split-complementary
#306F18 #2C186F #6F185C
monochromatic
#0B1905 #1A3D0D #306F18 #46A123 #5CD22F
Accessibility & contrast
On white
6.15
#306F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#306F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306F18
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306F18 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736506
Deuteranopia (green-blind)
#6B5F21
Tritanopia (blue-blind)
#2A6B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #306f18; /* rgb */ color: rgb(48, 111, 24); /* oklch */ color: oklch(48.2% 0.135 138.7);
Tailwind
colors: {
custom: {
50: '#70995c',
500: '#306f18',
950: '#000000',
},
}SCSS
$custom: #306f18; $custom-light: #70995c; $custom-dark: #000000;
JSON
{
"hex": "#306f18",
"rgb": {
"r": 48,
"g": 111,
"b": 24
},
"hsl": {
"h": 103.448,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.4819,
"c": 0.135,
"h": 138.7
},
"luminance": 0.12063
}Semantic roles & 50–950 ramp
primary
#306F18
secondary
#883EA5
accent
#40E7B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79