#306C22#306C22
#306C22 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.124 H 140.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #306C22 |
|---|---|
| RGB | rgb(48, 108, 34) |
| HSL | hsl(109, 52%, 28%) |
| HSV | hsv(109, 69%, 42%) |
| CMYK | cmyk(55.6%, 0%, 68.5%, 57.6%) |
| CIE-LAB | lab(40.36, -34.65, 34.41) |
| CIE-LCH | lch(40.36, 48.83, 135.20°) |
| OKLab | oklab(47.43% -0.095 0.0795) |
| OKLCH | oklch(47.43% 0.124 140.1) |
| XYZ | xyz(6.8699, 11.4685, 3.3647) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.88
Darkish Green
#287C37
ΔE00 6.14
Tree Green
#2A7E19
ΔE00 6.70
Forest Green
#2D5A27
ΔE00 6.91
Deep Green
#02590F
ΔE00 7.03
Darkolivegreen
#556B2F
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306C22 #5E226C
analogous
#556C22 #306C22 #226C39
triadic
#306C22 #22306C #6C2230
tetradic
#306C22 #22556C #5E226C #6C3922
square
#306C22 #22556C #5E226C #6C3922
split-complementary
#306C22 #39226C #6C2255
monochromatic
#0A1707 #1B3D13 #306C22 #459B31 #5CC444
Accessibility & contrast
On white
6.38
#306C22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#306C22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306C22
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306C22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306C22 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6219
Deuteranopia (green-blind)
#675D28
Tritanopia (blue-blind)
#2A685D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #306c22; /* rgb */ color: rgb(48, 108, 34); /* oklch */ color: oklch(47.4% 0.124 140.1);
Tailwind
colors: {
custom: {
50: '#6f9761',
500: '#306c22',
950: '#000000',
},
}SCSS
$custom: #306c22; $custom-light: #6f9761; $custom-dark: #000000;
JSON
{
"hex": "#306c22",
"rgb": {
"r": 48,
"g": 108,
"b": 34
},
"hsl": {
"h": 108.649,
"s": 52.113,
"l": 27.843
},
"oklch": {
"l": 0.47427,
"c": 0.12386,
"h": 140.1
},
"luminance": 0.11469
}Semantic roles & 50–950 ramp
primary
#306C22
secondary
#8F4AA0
accent
#4CDCC0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080D05
muted
#7B7E79