#306E12#306E12
#306E12 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.9% C 0.137 H 138.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #306E12 |
|---|---|
| RGB | rgb(48, 110, 18) |
| HSL | hsl(100, 72%, 25%) |
| HSV | hsv(100, 84%, 43%) |
| CMYK | cmyk(56.4%, 0%, 83.6%, 56.9%) |
| CIE-LAB | lab(40.93, -36.79, 41.39) |
| CIE-LCH | lch(40.93, 55.37, 131.63°) |
| OKLab | oklab(47.86% -0.1018 0.0918) |
| OKLCH | oklch(47.86% 0.137 138) |
| XYZ | xyz(6.9038, 11.8234, 2.4905) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.77
Tree Green
#2A7E19
ΔE00 5.56
Dark Grass Green
#388004
ΔE00 6.66
Green
#008000
ΔE00 6.84
Darkish Green
#287C37
ΔE00 7.03
Darkolivegreen
#556B2F
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306E12 #50126E
analogous
#5E6E12 #306E12 #126E22
triadic
#306E12 #12306E #6E1230
tetradic
#306E12 #125E6E #50126E #6E2212
square
#306E12 #125E6E #50126E #6E2212
split-complementary
#306E12 #22126E #6E125E
monochromatic
#0B1A04 #193909 #306E12 #47A31B #5ED723
Accessibility & contrast
On white
6.24
#306E12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#306E12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306E12
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306E12 | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#2B6A5D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #306e12; /* rgb */ color: rgb(48, 110, 18); /* oklch */ color: oklch(47.9% 0.137 138.0);
Tailwind
colors: {
custom: {
50: '#709859',
500: '#306e12',
950: '#000000',
},
}SCSS
$custom: #306e12; $custom-light: #709859; $custom-dark: #000000;
JSON
{
"hex": "#306e12",
"rgb": {
"r": 48,
"g": 110,
"b": 18
},
"hsl": {
"h": 100.435,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.47864,
"c": 0.13707,
"h": 138
},
"luminance": 0.11824
}Semantic roles & 50–950 ramp
primary
#306E12
secondary
#8137A5
accent
#39EFB3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79