#306F12#306F12
#306F12 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.138 H 138.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #306F12 |
|---|---|
| RGB | rgb(48, 111, 18) |
| HSL | hsl(101, 72%, 25%) |
| HSV | hsv(101, 84%, 44%) |
| CMYK | cmyk(56.8%, 0%, 83.8%, 56.5%) |
| CIE-LAB | lab(41.28, -37.19, 41.71) |
| CIE-LCH | lch(41.28, 55.89, 131.72°) |
| OKLab | oklab(48.15% -0.1029 0.0924) |
| OKLCH | oklch(48.15% 0.138 138.1) |
| XYZ | xyz(7.0123, 12.0404, 2.5267) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.98
Tree Green
#2A7E19
ΔE00 5.22
Dark Grass Green
#388004
ΔE00 6.33
Green
#008000
ΔE00 6.52
Darkish Green
#287C37
ΔE00 6.84
Darkolivegreen
#556B2F
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306F12 #51126F
analogous
#5E6F12 #306F12 #126F22
triadic
#306F12 #12306F #6F1230
tetradic
#306F12 #125E6F #51126F #6F2212
square
#306F12 #125E6F #51126F #6F2212
split-complementary
#306F12 #22126F #6F125E
monochromatic
#0B1A04 #193A09 #306F12 #47A41B #5ED823
Accessibility & contrast
On white
6.16
#306F12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#306F12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306F12
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306F12 | 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)
#6B5F1D
Tritanopia (blue-blind)
#2B6B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #306f12; /* rgb */ color: rgb(48, 111, 18); /* oklch */ color: oklch(48.1% 0.138 138.1);
Tailwind
colors: {
custom: {
50: '#709959',
500: '#306f12',
950: '#000000',
},
}SCSS
$custom: #306f12; $custom-light: #709959; $custom-dark: #000000;
JSON
{
"hex": "#306f12",
"rgb": {
"r": 48,
"g": 111,
"b": 18
},
"hsl": {
"h": 100.645,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.4815,
"c": 0.13833,
"h": 138.1
},
"luminance": 0.12041
}Semantic roles & 50–950 ramp
primary
#306F12
secondary
#8237A6
accent
#39EFB4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79