#305F2E#305F2E
#305F2E is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.9% C 0.093 H 143.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #305F2E |
|---|---|
| RGB | rgb(48, 95, 46) |
| HSL | hsl(118, 35%, 28%) |
| HSV | hsv(118, 52%, 37%) |
| CMYK | cmyk(49.5%, 0%, 51.6%, 62.7%) |
| CIE-LAB | lab(36.00, -27.26, 23.08) |
| CIE-LCH | lch(36.00, 35.71, 139.75°) |
| OKLab | oklab(43.9% -0.0742 0.0559) |
| OKLCH | oklch(43.9% 0.093 143) |
| XYZ | xyz(5.8040, 9.0097, 4.0174) |
| Luminance | 0.0901 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.82
Pine
#2B5D34
ΔE00 2.41
Hunter Green
#355E3B
ΔE00 3.81
Spruce
#0A5F38
ΔE00 5.53
Deep Green
#02590F
ΔE00 6.12
Forest
#0B5509
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305F2E #5D2E5F
analogous
#485F2E #305F2E #2E5F44
triadic
#305F2E #2E305F #5F2E30
tetradic
#305F2E #2E485F #5D2E5F #5F442E
square
#305F2E #2E485F #5D2E5F #5F442E
split-complementary
#305F2E #442E5F #5F2E48
monochromatic
#0A150A #1B361A #305F2E #458842 #5CAF59
Accessibility & contrast
On white
7.49
#305F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#305F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305F2E
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305F2E | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61572A
Deuteranopia (green-blind)
#5A5331
Tritanopia (blue-blind)
#2A5C53
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #305f2e; /* rgb */ color: rgb(48, 95, 46); /* oklch */ color: oklch(43.9% 0.093 143.0);
Tailwind
colors: {
custom: {
50: '#6c8d68',
500: '#305f2e',
950: '#000000',
},
}SCSS
$custom: #305f2e; $custom-light: #6c8d68; $custom-dark: #000000;
JSON
{
"hex": "#305f2e",
"rgb": {
"r": 48,
"g": 95,
"b": 46
},
"hsl": {
"h": 117.551,
"s": 34.752,
"l": 27.647
},
"oklch": {
"l": 0.439,
"c": 0.09295,
"h": 143
},
"luminance": 0.0901
}Semantic roles & 50–950 ramp
primary
#305F2E
secondary
#8E5891
accent
#5DCBC6
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A