#306F2D#306F2D
#306F2D is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.4% C 0.118 H 142.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #306F2D |
|---|---|
| RGB | rgb(48, 111, 45) |
| HSL | hsl(117, 42%, 31%) |
| HSV | hsv(117, 59%, 44%) |
| CMYK | cmyk(56.8%, 0%, 59.5%, 56.5%) |
| CIE-LAB | lab(41.51, -34.61, 30.29) |
| CIE-LCH | lch(41.51, 45.99, 138.81°) |
| OKLab | oklab(48.41% -0.0942 0.0718) |
| OKLCH | oklch(48.41% 0.118 142.7) |
| XYZ | xyz(7.3766, 12.1861, 4.4455) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.66
Darkgreen
#006400
ΔE00 6.35
Tree Green
#2A7E19
ΔE00 6.73
Forest Green
#2D5A27
ΔE00 7.23
Pine
#2B5D34
ΔE00 7.68
Jungle Green
#048243
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306F2D #6C2D6F
analogous
#516F2D #306F2D #2D6F4B
triadic
#306F2D #2D306F #6F2D30
tetradic
#306F2D #2D516F #6C2D6F #6F4B2D
square
#306F2D #2D516F #6C2D6F #6F4B2D
split-complementary
#306F2D #4B2D6F #6F2D51
monochromatic
#0A180A #1D431B #306F2D #439B3F #5FBC5A
Accessibility & contrast
On white
6.11
#306F2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#306F2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306F2D
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306F2D | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716527
Deuteranopia (green-blind)
#696032
Tritanopia (blue-blind)
#276C60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #306f2d; /* rgb */ color: rgb(48, 111, 45); /* oklch */ color: oklch(48.4% 0.118 142.7);
Tailwind
colors: {
custom: {
50: '#6f9968',
500: '#306f2d',
950: '#000000',
},
}SCSS
$custom: #306f2d; $custom-light: #6f9968; $custom-dark: #000000;
JSON
{
"hex": "#306f2d",
"rgb": {
"r": 48,
"g": 111,
"b": 45
},
"hsl": {
"h": 117.273,
"s": 42.308,
"l": 30.588
},
"oklch": {
"l": 0.48413,
"c": 0.11847,
"h": 142.7
},
"luminance": 0.12187
}Semantic roles & 50–950 ramp
primary
#306F2D
secondary
#9D57A1
accent
#56D2CC
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A