#306F4F#306F4F
#306F4F is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.1% C 0.084 H 158.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #306F4F |
|---|---|
| RGB | rgb(48, 111, 79) |
| HSL | hsl(150, 40%, 31%) |
| HSV | hsv(150, 57%, 44%) |
| CMYK | cmyk(56.8%, 0%, 28.8%, 56.5%) |
| CIE-LAB | lab(42.09, -28.45, 11.83) |
| CIE-LCH | lch(42.09, 30.81, 157.43°) |
| OKLab | oklab(49.08% -0.078 0.0301) |
| OKLCH | oklch(49.08% 0.084 158.9) |
| XYZ | xyz(8.3139, 12.5610, 9.3820) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 6.61
Spruce
#0A5F38
ΔE00 6.63
Pine
#2B5D34
ΔE00 7.22
Dark Green Blue
#1F6357
ΔE00 8.25
Dark Sea Green
#11875D
ΔE00 8.84
Darkish Green
#287C37
ΔE00 9.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306F4F #6F3050
analogous
#306F30 #306F4F #306F6E
triadic
#306F4F #4F306F #6F4F30
tetradic
#306F4F #30306F #6F3050 #6F6E30
square
#306F4F #30306F #6F3050 #6F6E30
split-complementary
#306F4F #6E306F #6F3030
monochromatic
#0B1A12 #1E4431 #306F4F #429A6D #5FBA8C
Accessibility & contrast
On white
5.98
#306F4F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#306F4F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #306F4F
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306F4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306F4F | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E674D
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#1B6E66
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #306f4f; /* rgb */ color: rgb(48, 111, 79); /* oklch */ color: oklch(49.1% 0.084 158.9);
Tailwind
colors: {
custom: {
50: '#6e9980',
500: '#306f4f',
950: '#000000',
},
}SCSS
$custom: #306f4f; $custom-light: #6e9980; $custom-dark: #000000;
JSON
{
"hex": "#306f4f",
"rgb": {
"r": 48,
"g": 111,
"b": 79
},
"hsl": {
"h": 149.524,
"s": 39.623,
"l": 31.176
},
"oklch": {
"l": 0.49083,
"c": 0.08361,
"h": 158.9
},
"luminance": 0.12562
}Semantic roles & 50–950 ramp
primary
#306F4F
secondary
#A05B7E
accent
#5895D0
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C