#307B3A#307B3A
#307B3A is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.123 H 146.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #307B3A |
|---|---|
| RGB | rgb(48, 123, 58) |
| HSL | hsl(128, 44%, 34%) |
| HSV | hsv(128, 61%, 48%) |
| CMYK | cmyk(61%, 0%, 52.8%, 51.8%) |
| CIE-LAB | lab(45.77, -37.80, 28.58) |
| CIE-LCH | lch(45.77, 47.39, 142.91°) |
| OKLab | oklab(51.97% -0.1023 0.069) |
| OKLCH | oklch(51.97% 0.123 146) |
| XYZ | xyz(9.0650, 15.0989, 6.4388) |
| Luminance | 0.1510 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.00
Jungle Green
#048243
ΔE00 3.92
Tree Green
#2A7E19
ΔE00 5.59
Sea Green
#2E8B57
ΔE00 7.18
Green
#008000
ΔE00 7.36
Forestgreen (CSS)
#228B22
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#307B3A #7B3071
analogous
#4B7B30 #307B3A #307B5F
triadic
#307B3A #3A307B #7B3A30
tetradic
#307B3A #304B7B #7B3071 #7B5F30
square
#307B3A #304B7B #7B3071 #7B5F30
split-complementary
#307B3A #5F307B #7B304B
monochromatic
#0E2310 #1F4F25 #307B3A #41A74F #63C270
Accessibility & contrast
On white
5.22
#307B3A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#307B3A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #307B3A
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##307B3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##307B3A | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7034
Deuteranopia (green-blind)
#736A3F
Tritanopia (blue-blind)
#20786C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #307b3a; /* rgb */ color: rgb(48, 123, 58); /* oklch */ color: oklch(52.0% 0.123 146.0);
Tailwind
colors: {
custom: {
50: '#70a272',
500: '#307b3a',
950: '#000000',
},
}SCSS
$custom: #307b3a; $custom-light: #70a272; $custom-dark: #000000;
JSON
{
"hex": "#307b3a",
"rgb": {
"r": 48,
"g": 123,
"b": 58
},
"hsl": {
"h": 128,
"s": 43.86,
"l": 33.529
},
"oklch": {
"l": 0.51972,
"c": 0.12341,
"h": 146
},
"luminance": 0.151
}Semantic roles & 50–950 ramp
primary
#307B3A
secondary
#A95D9F
accent
#54C3D4
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#080F08
muted
#7B7F7B