#307818#307818
#307818 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.146 H 139.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #307818 |
|---|---|
| RGB | rgb(48, 120, 24) |
| HSL | hsl(105, 67%, 28%) |
| HSV | hsv(105, 80%, 47%) |
| CMYK | cmyk(60%, 0%, 80%, 52.9%) |
| CIE-LAB | lab(44.41, -40.37, 42.68) |
| CIE-LCH | lch(44.41, 58.75, 133.41°) |
| OKLab | oklab(50.75% -0.1111 0.0954) |
| OKLCH | oklch(50.75% 0.146 139.4) |
| XYZ | xyz(8.0999, 14.1266, 3.1638) |
| Luminance | 0.1413 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.17
Dark Grass Green
#388004
ΔE00 3.79
Green
#008000
ΔE00 3.96
Darkish Green
#287C37
ΔE00 5.21
Forestgreen (CSS)
#228B22
ΔE00 6.77
Darkgreen
#006400
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#307818 #601878
analogous
#607818 #307818 #187830
triadic
#307818 #183078 #781830
tetradic
#307818 #186078 #601878 #783018
square
#307818 #186078 #601878 #783018
split-complementary
#307818 #301878 #781860
monochromatic
#0A1A05 #1C450E #307818 #44AB22 #5DD634
Accessibility & contrast
On white
5.49
#307818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#307818 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #307818
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##307818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##307818 | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#287466
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #307818; /* rgb */ color: rgb(48, 120, 24); /* oklch */ color: oklch(50.7% 0.146 139.4);
Tailwind
colors: {
custom: {
50: '#72a05d',
500: '#307818',
950: '#000000',
},
}SCSS
$custom: #307818; $custom-light: #72a05d; $custom-dark: #000000;
JSON
{
"hex": "#307818",
"rgb": {
"r": 48,
"g": 120,
"b": 24
},
"hsl": {
"h": 105,
"s": 66.667,
"l": 28.235
},
"oklch": {
"l": 0.50747,
"c": 0.14643,
"h": 139.4
},
"luminance": 0.14127
}Semantic roles & 50–950 ramp
primary
#307818
secondary
#913FAD
accent
#3EEABF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79