#305F1E#305F1E
#305F1E is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.7% C 0.109 H 138.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #305F1E |
|---|---|
| RGB | rgb(48, 95, 30) |
| HSL | hsl(103, 52%, 25%) |
| HSV | hsv(103, 68%, 37%) |
| CMYK | cmyk(49.5%, 0%, 68.4%, 62.7%) |
| CIE-LAB | lab(35.80, -29.36, 31.32) |
| CIE-LCH | lch(35.80, 42.93, 133.15°) |
| OKLab | oklab(43.67% -0.0809 0.0724) |
| OKLCH | oklch(43.67% 0.109 138.2) |
| XYZ | xyz(5.5453, 8.9062, 2.6549) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.25
Deep Green
#02590F
ΔE00 4.65
Forest
#0B5509
ΔE00 4.88
Navy Green
#35530A
ΔE00 5.28
Darkgreen
#006400
ΔE00 5.38
Pine
#2B5D34
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305F1E #4D1E5F
analogous
#515F1E #305F1E #1E5F2D
triadic
#305F1E #1E305F #5F1E30
tetradic
#305F1E #1E515F #4D1E5F #5F2D1E
square
#305F1E #1E515F #4D1E5F #5F2D1E
split-complementary
#305F1E #2D1E5F #5F1E51
monochromatic
#0C1707 #18300F #305F1E #488E2D #5FBC3B
Accessibility & contrast
On white
7.55
#305F1E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#305F1E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305F1E
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305F1E | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625716
Deuteranopia (green-blind)
#5C5323
Tritanopia (blue-blind)
#2D5C51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #305f1e; /* rgb */ color: rgb(48, 95, 30); /* oklch */ color: oklch(43.7% 0.109 138.2);
Tailwind
colors: {
custom: {
50: '#6d8d5d',
500: '#305f1e',
950: '#000000',
},
}SCSS
$custom: #305f1e; $custom-light: #6d8d5d; $custom-dark: #000000;
JSON
{
"hex": "#305f1e",
"rgb": {
"r": 48,
"g": 95,
"b": 30
},
"hsl": {
"h": 103.385,
"s": 52,
"l": 24.51
},
"oklch": {
"l": 0.43672,
"c": 0.10862,
"h": 138.2
},
"luminance": 0.08907
}Semantic roles & 50–950 ramp
primary
#305F1E
secondary
#7E4594
accent
#4CDBB4
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79