#307C12#307C12
#307C12 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.154 H 139.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #307C12 |
|---|---|
| RGB | rgb(48, 124, 18) |
| HSL | hsl(103, 75%, 28%) |
| HSV | hsv(103, 85%, 49%) |
| CMYK | cmyk(61.3%, 0%, 85.5%, 51.4%) |
| CIE-LAB | lab(45.75, -42.27, 45.83) |
| CIE-LCH | lch(45.75, 62.35, 132.68°) |
| OKLab | oklab(51.84% -0.1165 0.1011) |
| OKLCH | oklch(51.84% 0.154 139.1) |
| XYZ | xyz(8.5354, 15.0866, 3.0344) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.25
Dark Grass Green
#388004
ΔE00 2.27
Green
#008000
ΔE00 2.93
Forestgreen (CSS)
#228B22
ΔE00 5.53
Darkish Green
#287C37
ΔE00 5.88
Avocado
#568203
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#307C12 #5E127C
analogous
#657C12 #307C12 #127C29
triadic
#307C12 #12307C #7C1230
tetradic
#307C12 #12657C #5E127C #7C2912
square
#307C12 #12657C #5E127C #7C2912
split-complementary
#307C12 #29127C #7C1265
monochromatic
#0A1B04 #1B470A #307C12 #45B11A #5CE029
Accessibility & contrast
On white
5.23
#307C12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#307C12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #307C12
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##307C12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##307C12 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#277869
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #307c12; /* rgb */ color: rgb(48, 124, 18); /* oklch */ color: oklch(51.8% 0.154 139.1);
Tailwind
colors: {
custom: {
50: '#73a35b',
500: '#307c12',
950: '#000000',
},
}SCSS
$custom: #307c12; $custom-light: #73a35b; $custom-dark: #000000;
JSON
{
"hex": "#307c12",
"rgb": {
"r": 48,
"g": 124,
"b": 18
},
"hsl": {
"h": 103.019,
"s": 74.648,
"l": 27.843
},
"oklch": {
"l": 0.51844,
"c": 0.15426,
"h": 139.1
},
"luminance": 0.15087
}Semantic roles & 50–950 ramp
primary
#307C12
secondary
#8F38B2
accent
#37F1BC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79