#305E40#305E40
#305E40 is a dark, moderate green. Relative luminance 0.090; OKLCH L 44.0% C 0.071 H 153.8°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #305E40 |
|---|---|
| RGB | rgb(48, 94, 64) |
| HSL | hsl(141, 32%, 28%) |
| HSV | hsv(141, 49%, 37%) |
| CMYK | cmyk(48.9%, 0%, 31.9%, 63.1%) |
| CIE-LAB | lab(35.99, -23.40, 12.43) |
| CIE-LCH | lch(35.99, 26.50, 152.02°) |
| OKLab | oklab(44% -0.064 0.0315) |
| OKLCH | oklch(44% 0.071 153.8) |
| XYZ | xyz(6.1466, 9.0035, 6.2634) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 2.04
Pine
#2B5D34
ΔE00 3.41
Spruce
#0A5F38
ΔE00 4.63
Forest Green
#2D5A27
ΔE00 6.40
Dark Green Blue
#1F6357
ΔE00 8.01
Evergreen
#05472A
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305E40 #5E304E
analogous
#375E30 #305E40 #305E57
triadic
#305E40 #40305E #5E4030
tetradic
#305E40 #30375E #5E304E #5E5730
square
#305E40 #30375E #5E304E #5E5730
split-complementary
#305E40 #57305E #5E3037
monochromatic
#0A140E #1B3524 #305E40 #45875C #5CAC78
Accessibility & contrast
On white
7.50
#305E40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#305E40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305E40
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305E40 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E583E
Deuteranopia (green-blind)
#575342
Tritanopia (blue-blind)
#265D56
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #305e40; /* rgb */ color: rgb(48, 94, 64); /* oklch */ color: oklch(44.0% 0.071 153.8);
Tailwind
colors: {
custom: {
50: '#6b8c75',
500: '#305e40',
950: '#000000',
},
}SCSS
$custom: #305e40; $custom-light: #6b8c75; $custom-dark: #000000;
JSON
{
"hex": "#305e40",
"rgb": {
"r": 48,
"g": 94,
"b": 64
},
"hsl": {
"h": 140.87,
"s": 32.394,
"l": 27.843
},
"oklch": {
"l": 0.43999,
"c": 0.0713,
"h": 153.8
},
"luminance": 0.09004
}Semantic roles & 50–950 ramp
primary
#305E40
secondary
#8F5A7D
accent
#5FA4C9
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C08
muted
#7A7D7B