#306237#306237
#306237 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.9% C 0.088 H 147.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #306237 |
|---|---|
| RGB | rgb(48, 98, 55) |
| HSL | hsl(128, 34%, 29%) |
| HSV | hsv(128, 51%, 38%) |
| CMYK | cmyk(51%, 0%, 43.9%, 61.6%) |
| CIE-LAB | lab(37.19, -27.16, 19.40) |
| CIE-LCH | lch(37.19, 33.38, 144.46°) |
| OKLab | oklab(44.92% -0.0738 0.048) |
| OKLCH | oklch(44.92% 0.088 147) |
| XYZ | xyz(6.2758, 9.6391, 5.1435) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.73
Hunter Green
#355E3B
ΔE00 2.61
Forest Green
#2D5A27
ΔE00 3.74
Spruce
#0A5F38
ΔE00 4.36
Deep Green
#02590F
ΔE00 7.69
Forest
#0B5509
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306237 #62305B
analogous
#426230 #306237 #306250
triadic
#306237 #373062 #623730
tetradic
#306237 #304262 #62305B #625030
square
#306237 #304262 #62305B #625030
split-complementary
#306237 #503062 #623042
monochromatic
#0A150C #1C3920 #306237 #448B4E #5DB068
Accessibility & contrast
On white
7.17
#306237 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#306237 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #306237
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306237 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306237 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A34
Deuteranopia (green-blind)
#5C563A
Tritanopia (blue-blind)
#286057
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #306237; /* rgb */ color: rgb(48, 98, 55); /* oklch */ color: oklch(44.9% 0.088 147.0);
Tailwind
colors: {
custom: {
50: '#6c8f6e',
500: '#306237',
950: '#000000',
},
}SCSS
$custom: #306237; $custom-light: #6c8f6e; $custom-dark: #000000;
JSON
{
"hex": "#306237",
"rgb": {
"r": 48,
"g": 98,
"b": 55
},
"hsl": {
"h": 128.4,
"s": 34.247,
"l": 28.627
},
"oklch": {
"l": 0.44916,
"c": 0.08798,
"h": 147
},
"luminance": 0.0964
}Semantic roles & 50–950 ramp
primary
#306237
secondary
#935A8B
accent
#5DBBCA
background
#F6F8F6
surface
#ECF0EC
border
#C7CBC7
text
#070C07
muted
#7A7D7A