#306142#306142
#306142 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.9% C 0.074 H 154.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #306142 |
|---|---|
| RGB | rgb(48, 97, 66) |
| HSL | hsl(142, 34%, 28%) |
| HSV | hsv(142, 51%, 38%) |
| CMYK | cmyk(50.5%, 0%, 32%, 62%) |
| CIE-LAB | lab(37.06, -24.49, 12.69) |
| CIE-LCH | lch(37.06, 27.58, 152.61°) |
| OKLab | oklab(44.88% -0.0669 0.0321) |
| OKLCH | oklch(44.88% 0.074 154.3) |
| XYZ | xyz(6.4765, 9.5706, 6.6592) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 2.33
Pine
#2B5D34
ΔE00 3.50
Spruce
#0A5F38
ΔE00 4.37
Forest Green
#2D5A27
ΔE00 6.60
Dark Green Blue
#1F6357
ΔE00 7.93
Evergreen
#05472A
ΔE00 8.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306142 #61304F
analogous
#366130 #306142 #30615A
triadic
#306142 #423061 #614230
tetradic
#306142 #303661 #61304F #615A30
square
#306142 #303661 #61304F #615A30
split-complementary
#306142 #5A3061 #613036
monochromatic
#0A140E #1C3826 #306142 #448A5E #5DAF7B
Accessibility & contrast
On white
7.21
#306142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#306142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #306142
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306142 | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615A40
Deuteranopia (green-blind)
#5A5544
Tritanopia (blue-blind)
#256059
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #306142; /* rgb */ color: rgb(48, 97, 66); /* oklch */ color: oklch(44.9% 0.074 154.3);
Tailwind
colors: {
custom: {
50: '#6c8e76',
500: '#306142',
950: '#000000',
},
}SCSS
$custom: #306142; $custom-light: #6c8e76; $custom-dark: #000000;
JSON
{
"hex": "#306142",
"rgb": {
"r": 48,
"g": 97,
"b": 66
},
"hsl": {
"h": 142.041,
"s": 33.793,
"l": 28.431
},
"oklch": {
"l": 0.44884,
"c": 0.07422,
"h": 154.3
},
"luminance": 0.09571
}Semantic roles & 50–950 ramp
primary
#306142
secondary
#925A7E
accent
#5EA2CA
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C08
muted
#7A7D7B