#306828#306828
#306828 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.4% C 0.113 H 141.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #306828 |
|---|---|
| RGB | rgb(48, 104, 40) |
| HSL | hsl(113, 44%, 28%) |
| HSV | hsv(113, 62%, 41%) |
| CMYK | cmyk(53.8%, 0%, 61.5%, 59.2%) |
| CIE-LAB | lab(39.04, -32.23, 29.98) |
| CIE-LCH | lch(39.04, 44.01, 137.07°) |
| OKLab | oklab(46.36% -0.088 0.0707) |
| OKLCH | oklch(46.36% 0.113 141.2) |
| XYZ | xyz(6.5519, 10.6817, 3.7236) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.01
Darkgreen
#006400
ΔE00 5.45
Pine
#2B5D34
ΔE00 6.12
Deep Green
#02590F
ΔE00 6.16
Forest
#0B5509
ΔE00 7.03
Darkish Green
#287C37
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306828 #602868
analogous
#506828 #306828 #286840
triadic
#306828 #283068 #682830
tetradic
#306828 #285068 #602868 #684028
square
#306828 #285068 #602868 #684028
split-complementary
#306828 #402868 #682850
monochromatic
#0A1609 #1C3C17 #306828 #449439 #5DBB4F
Accessibility & contrast
On white
6.70
#306828 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#306828 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306828
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306828 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306828 | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5F21
Deuteranopia (green-blind)
#635A2D
Tritanopia (blue-blind)
#2A655A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #306828; /* rgb */ color: rgb(48, 104, 40); /* oklch */ color: oklch(46.4% 0.113 141.2);
Tailwind
colors: {
custom: {
50: '#6e9464',
500: '#306828',
950: '#000000',
},
}SCSS
$custom: #306828; $custom-light: #6e9464; $custom-dark: #000000;
JSON
{
"hex": "#306828",
"rgb": {
"r": 48,
"g": 104,
"b": 40
},
"hsl": {
"h": 112.5,
"s": 44.444,
"l": 28.235
},
"oklch": {
"l": 0.46363,
"c": 0.11289,
"h": 141.2
},
"luminance": 0.10682
}Semantic roles & 50–950 ramp
primary
#306828
secondary
#91519B
accent
#54D4C4
background
#F6F9F6
surface
#ECF1EB
border
#C7CBC6
text
#070D05
muted
#7A7E7A