#305239#305239
#305239 is a dark, muted green. Relative luminance 0.070; OKLCH L 40.5% C 0.058 H 151.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #305239 |
|---|---|
| RGB | rgb(48, 82, 57) |
| HSL | hsl(136, 26%, 25%) |
| HSV | hsv(136, 41%, 32%) |
| CMYK | cmyk(41.5%, 0%, 30.5%, 67.8%) |
| CIE-LAB | lab(31.71, -18.63, 10.88) |
| CIE-LCH | lch(31.71, 21.57, 149.72°) |
| OKLab | oklab(40.47% -0.051 0.0276) |
| OKLCH | oklch(40.47% 0.058 151.6) |
| XYZ | xyz(4.9744, 6.9581, 4.9510) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 4.79
Pine
#2B5D34
ΔE00 5.92
Evergreen
#05472A
ΔE00 6.36
Pine Green
#0A481E
ΔE00 7.60
Spruce
#0A5F38
ΔE00 7.60
Forest Green
#2D5A27
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#305239 #523049
analogous
#385230 #305239 #30524A
triadic
#305239 #393052 #523930
tetradic
#305239 #303852 #523049 #524A30
square
#305239 #303852 #523049 #524A30
split-complementary
#305239 #4A3052 #523038
monochromatic
#0B130D #192B1E #305239 #477954 #5D9F6F
Accessibility & contrast
On white
8.78
#305239 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#305239 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #305239
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##305239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##305239 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524D37
Deuteranopia (green-blind)
#4D493A
Tritanopia (blue-blind)
#2A514B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #305239; /* rgb */ color: rgb(48, 82, 57); /* oklch */ color: oklch(40.5% 0.058 151.6);
Tailwind
colors: {
custom: {
50: '#6a836f',
500: '#305239',
950: '#000000',
},
}SCSS
$custom: #305239; $custom-light: #6a836f; $custom-dark: #000000;
JSON
{
"hex": "#305239",
"rgb": {
"r": 48,
"g": 82,
"b": 57
},
"hsl": {
"h": 135.882,
"s": 26.154,
"l": 25.49
},
"oklch": {
"l": 0.40473,
"c": 0.05798,
"h": 151.6
},
"luminance": 0.06958
}Semantic roles & 50–950 ramp
primary
#305239
secondary
#835B78
accent
#65AAC3
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#060A07
muted
#7A7C7A