#306E20#306E20
#306E20 is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.128 H 139.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #306E20 |
|---|---|
| RGB | rgb(48, 110, 32) |
| HSL | hsl(108, 55%, 28%) |
| HSV | hsv(108, 71%, 43%) |
| CMYK | cmyk(56.4%, 0%, 70.9%, 56.9%) |
| CIE-LAB | lab(41.03, -35.69, 36.05) |
| CIE-LCH | lch(41.03, 50.73, 134.72°) |
| OKLab | oklab(47.98% -0.098 0.0827) |
| OKLCH | oklch(47.98% 0.128 139.8) |
| XYZ | xyz(7.0553, 11.8840, 3.2883) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.02
Darkish Green
#287C37
ΔE00 5.80
Tree Green
#2A7E19
ΔE00 5.88
Green
#008000
ΔE00 7.43
Darkolivegreen
#556B2F
ΔE00 7.46
Dark Grass Green
#388004
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306E20 #5E206E
analogous
#576E20 #306E20 #206E37
triadic
#306E20 #20306E #6E2030
tetradic
#306E20 #20576E #5E206E #6E3720
square
#306E20 #20576E #5E206E #6E3720
split-complementary
#306E20 #37206E #6E2057
monochromatic
#0A1807 #1B3F12 #306E20 #459D2E #5CC841
Accessibility & contrast
On white
6.22
#306E20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#306E20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306E20
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306E20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306E20 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#296A5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #306e20; /* rgb */ color: rgb(48, 110, 32); /* oklch */ color: oklch(48.0% 0.128 139.8);
Tailwind
colors: {
custom: {
50: '#6f9860',
500: '#306e20',
950: '#000000',
},
}SCSS
$custom: #306e20; $custom-light: #6f9860; $custom-dark: #000000;
JSON
{
"hex": "#306e20",
"rgb": {
"r": 48,
"g": 110,
"b": 32
},
"hsl": {
"h": 107.692,
"s": 54.93,
"l": 27.843
},
"oklch": {
"l": 0.47975,
"c": 0.12818,
"h": 139.8
},
"luminance": 0.11885
}Semantic roles & 50–950 ramp
primary
#306E20
secondary
#8F48A2
accent
#4ADEC0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79