#306F20#306F20
#306F20 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.130 H 139.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #306F20 |
|---|---|
| RGB | rgb(48, 111, 32) |
| HSL | hsl(108, 55%, 28%) |
| HSV | hsv(108, 71%, 44%) |
| CMYK | cmyk(56.8%, 0%, 71.2%, 56.5%) |
| CIE-LAB | lab(41.38, -36.11, 36.41) |
| CIE-LCH | lch(41.38, 51.28, 134.76°) |
| OKLab | oklab(48.26% -0.0991 0.0834) |
| OKLCH | oklch(48.26% 0.13 139.9) |
| XYZ | xyz(7.1638, 12.1010, 3.3244) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.19
Tree Green
#2A7E19
ΔE00 5.53
Darkish Green
#287C37
ΔE00 5.56
Green
#008000
ΔE00 7.10
Dark Grass Green
#388004
ΔE00 7.25
Darkolivegreen
#556B2F
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306F20 #5F206F
analogous
#576F20 #306F20 #206F37
triadic
#306F20 #20306F #6F2030
tetradic
#306F20 #20576F #5F206F #6F3720
square
#306F20 #20576F #5F206F #6F3720
split-complementary
#306F20 #37206F #6F2057
monochromatic
#0A1807 #1B3F12 #306F20 #459F2E #5DC841
Accessibility & contrast
On white
6.14
#306F20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#306F20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306F20
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306F20 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726515
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#296B5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #306f20; /* rgb */ color: rgb(48, 111, 32); /* oklch */ color: oklch(48.3% 0.130 139.9);
Tailwind
colors: {
custom: {
50: '#6f9960',
500: '#306f20',
950: '#000000',
},
}SCSS
$custom: #306f20; $custom-light: #6f9960; $custom-dark: #000000;
JSON
{
"hex": "#306f20",
"rgb": {
"r": 48,
"g": 111,
"b": 32
},
"hsl": {
"h": 107.848,
"s": 55.245,
"l": 28.039
},
"oklch": {
"l": 0.48259,
"c": 0.12953,
"h": 139.9
},
"luminance": 0.12102
}Semantic roles & 50–950 ramp
primary
#306F20
secondary
#9048A3
accent
#49DFC0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79