#307D2E#307D2E
#307D2E is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.137 H 142.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #307D2E |
|---|---|
| RGB | rgb(48, 125, 46) |
| HSL | hsl(118, 46%, 34%) |
| HSV | hsv(118, 63%, 49%) |
| CMYK | cmyk(61.6%, 0%, 63.2%, 51%) |
| CIE-LAB | lab(46.30, -40.26, 35.33) |
| CIE-LCH | lch(46.30, 53.57, 138.73°) |
| OKLab | oklab(52.36% -0.1095 0.0828) |
| OKLCH | oklch(52.36% 0.137 142.9) |
| XYZ | xyz(9.0452, 15.4920, 5.0978) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.25
Tree Green
#2A7E19
ΔE00 2.98
Green
#008000
ΔE00 4.96
Jungle Green
#048243
ΔE00 5.29
Dark Grass Green
#388004
ΔE00 5.44
Forestgreen (CSS)
#228B22
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#307D2E #7B2E7D
analogous
#577D2E #307D2E #2E7D53
triadic
#307D2E #2E307D #7D2E30
tetradic
#307D2E #2E577D #7B2E7D #7D532E
square
#307D2E #2E577D #7B2E7D #7D532E
split-complementary
#307D2E #532E7D #7D2E57
monochromatic
#0E240D #1F501E #307D2E #41AA3E #63C561
Accessibility & contrast
On white
5.12
#307D2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#307D2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #307D2E
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##307D2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##307D2E | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#23796C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #307d2e; /* rgb */ color: rgb(48, 125, 46); /* oklch */ color: oklch(52.4% 0.137 142.9);
Tailwind
colors: {
custom: {
50: '#71a36a',
500: '#307d2e',
950: '#000000',
},
}SCSS
$custom: #307d2e; $custom-light: #71a36a; $custom-dark: #000000;
JSON
{
"hex": "#307d2e",
"rgb": {
"r": 48,
"g": 125,
"b": 46
},
"hsl": {
"h": 118.481,
"s": 46.199,
"l": 33.529
},
"oklch": {
"l": 0.52363,
"c": 0.13725,
"h": 142.9
},
"luminance": 0.15493
}Semantic roles & 50–950 ramp
primary
#307D2E
secondary
#A95BAB
accent
#52D6D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A