#307142#307142
#307142 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.3% C 0.100 H 150.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #307142 |
|---|---|
| RGB | rgb(48, 113, 66) |
| HSL | hsl(137, 40%, 32%) |
| HSV | hsv(137, 58%, 44%) |
| CMYK | cmyk(57.5%, 0%, 41.6%, 55.7%) |
| CIE-LAB | lab(42.51, -32.10, 19.99) |
| CIE-LCH | lch(42.51, 37.81, 148.08°) |
| OKLab | oklab(49.34% -0.087 0.0497) |
| OKLCH | oklch(49.34% 0.1 150.3) |
| XYZ | xyz(8.1069, 12.8313, 7.2027) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.60
Pine
#2B5D34
ΔE00 6.72
Jungle Green
#048243
ΔE00 6.76
Spruce
#0A5F38
ΔE00 6.90
Hunter Green
#355E3B
ΔE00 6.99
Forest Green
#2D5A27
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#307142 #71305F
analogous
#3F7130 #307142 #307163
triadic
#307142 #423071 #714230
tetradic
#307142 #303F71 #71305F #716330
square
#307142 #303F71 #71305F #716330
split-complementary
#307142 #633071 #71303F
monochromatic
#0C1B10 #1E4629 #307142 #429C5B #60BB79
Accessibility & contrast
On white
5.89
#307142 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#307142 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #307142
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##307142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##307142 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72683F
Deuteranopia (green-blind)
#696245
Tritanopia (blue-blind)
#206F65
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #307142; /* rgb */ color: rgb(48, 113, 66); /* oklch */ color: oklch(49.3% 0.100 150.3);
Tailwind
colors: {
custom: {
50: '#6e9a77',
500: '#307142',
950: '#000000',
},
}SCSS
$custom: #307142; $custom-light: #6e9a77; $custom-dark: #000000;
JSON
{
"hex": "#307142",
"rgb": {
"r": 48,
"g": 113,
"b": 66
},
"hsl": {
"h": 136.615,
"s": 40.373,
"l": 31.569
},
"oklch": {
"l": 0.49335,
"c": 0.10016,
"h": 150.3
},
"luminance": 0.12832
}Semantic roles & 50–950 ramp
primary
#307142
secondary
#A25B8E
accent
#58AFD0
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B