#306118#306118
#306118 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.2% C 0.116 H 137.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #306118 |
|---|---|
| RGB | rgb(48, 97, 24) |
| HSL | hsl(100, 60%, 24%) |
| HSV | hsv(100, 75%, 38%) |
| CMYK | cmyk(50.5%, 0%, 75.3%, 62%) |
| CIE-LAB | lab(36.45, -30.84, 34.74) |
| CIE-LCH | lch(36.45, 46.46, 131.59°) |
| OKLab | oklab(44.18% -0.0854 0.0788) |
| OKLCH | oklch(44.18% 0.116 137.3) |
| XYZ | xyz(5.6583, 9.2433, 2.3500) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.53
Forest Green
#2D5A27
ΔE00 4.68
Deep Green
#02590F
ΔE00 4.91
Forest
#0B5509
ΔE00 5.18
Navy Green
#35530A
ΔE00 5.40
Camouflage Green
#4B6113
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306118 #491861
analogous
#546118 #306118 #186124
triadic
#306118 #183061 #611830
tetradic
#306118 #185461 #491861 #612418
square
#306118 #185461 #491861 #612418
split-complementary
#306118 #241861 #611854
monochromatic
#0C1906 #18300C #306118 #489224 #61C330
Accessibility & contrast
On white
7.37
#306118 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#306118 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #306118
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306118 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#64580C
Deuteranopia (green-blind)
#5E541F
Tritanopia (blue-blind)
#2D5D53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #306118; /* rgb */ color: rgb(48, 97, 24); /* oklch */ color: oklch(44.2% 0.116 137.3);
Tailwind
colors: {
custom: {
50: '#6e8e5a',
500: '#306118',
950: '#000000',
},
}SCSS
$custom: #306118; $custom-light: #6e8e5a; $custom-dark: #000000;
JSON
{
"hex": "#306118",
"rgb": {
"r": 48,
"g": 97,
"b": 24
},
"hsl": {
"h": 100.274,
"s": 60.331,
"l": 23.725
},
"oklch": {
"l": 0.44184,
"c": 0.1162,
"h": 137.3
},
"luminance": 0.09244
}Semantic roles & 50–950 ramp
primary
#306118
secondary
#7A3D97
accent
#44E3AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79