#306145#306145
#306145 is a dark, moderate green. Relative luminance 0.096; OKLCH L 45.0% C 0.071 H 156.9°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #306145 |
|---|---|
| RGB | rgb(48, 97, 69) |
| HSL | hsl(146, 34%, 28%) |
| HSV | hsv(146, 51%, 38%) |
| CMYK | cmyk(50.5%, 0%, 28.9%, 62%) |
| CIE-LAB | lab(37.13, -23.82, 10.96) |
| CIE-LCH | lch(37.13, 26.22, 155.30°) |
| OKLab | oklab(44.96% -0.0653 0.0279) |
| OKLCH | oklch(44.96% 0.071 156.9) |
| XYZ | xyz(6.5673, 9.6069, 7.1373) |
| Luminance | 0.0961 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 3.13
Pine
#2B5D34
ΔE00 4.44
Spruce
#0A5F38
ΔE00 4.89
Dark Green Blue
#1F6357
ΔE00 6.95
Forest Green
#2D5A27
ΔE00 7.53
Evergreen
#05472A
ΔE00 9.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#306145 #61304C
analogous
#336130 #306145 #30615D
triadic
#306145 #453061 #614530
tetradic
#306145 #303361 #61304C #615D30
square
#306145 #303361 #61304C #615D30
split-complementary
#306145 #5D3061 #613033
monochromatic
#0A140F #1C3828 #306145 #448A62 #5DAF80
Accessibility & contrast
On white
7.19
#306145 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#306145 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #306145
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##306145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##306145 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605A43
Deuteranopia (green-blind)
#595547
Tritanopia (blue-blind)
#246059
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #306145; /* rgb */ color: rgb(48, 97, 69); /* oklch */ color: oklch(45.0% 0.071 156.9);
Tailwind
colors: {
custom: {
50: '#6c8e78',
500: '#306145',
950: '#000000',
},
}SCSS
$custom: #306145; $custom-light: #6c8e78; $custom-dark: #000000;
JSON
{
"hex": "#306145",
"rgb": {
"r": 48,
"g": 97,
"b": 69
},
"hsl": {
"h": 145.714,
"s": 33.793,
"l": 28.431
},
"oklch": {
"l": 0.44961,
"c": 0.07105,
"h": 156.9
},
"luminance": 0.09607
}Semantic roles & 50–950 ramp
primary
#306145
secondary
#925A7A
accent
#5E9CCA
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C09
muted
#7A7D7B