#307E2F#307E2F
#307E2F is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.138 H 143.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #307E2F |
|---|---|
| RGB | rgb(48, 126, 47) |
| HSL | hsl(119, 46%, 34%) |
| HSV | hsv(119, 63%, 49%) |
| CMYK | cmyk(61.9%, 0%, 62.7%, 50.6%) |
| CIE-LAB | lab(46.65, -40.54, 35.25) |
| CIE-LCH | lch(46.65, 53.72, 138.99°) |
| OKLab | oklab(52.65% -0.1102 0.0827) |
| OKLCH | oklch(52.65% 0.138 143.1) |
| XYZ | xyz(9.1924, 15.7545, 5.2453) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.27
Tree Green
#2A7E19
ΔE00 3.04
Green
#008000
ΔE00 4.96
Jungle Green
#048243
ΔE00 5.12
Forestgreen (CSS)
#228B22
ΔE00 5.33
Dark Grass Green
#388004
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#307E2F #7D2F7E
analogous
#587E2F #307E2F #2F7E56
triadic
#307E2F #2F307E #7E2F30
tetradic
#307E2F #2F587E #7D2F7E #7E562F
square
#307E2F #2F587E #7D2F7E #7E562F
split-complementary
#307E2F #562F7E #7E2F58
monochromatic
#0E250E #1F511E #307E2F #41AB40 #64C563
Accessibility & contrast
On white
5.06
#307E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#307E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #307E2F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##307E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##307E2F | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#227A6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #307e2f; /* rgb */ color: rgb(48, 126, 47); /* oklch */ color: oklch(52.7% 0.138 143.1);
Tailwind
colors: {
custom: {
50: '#72a46a',
500: '#307e2f',
950: '#000000',
},
}SCSS
$custom: #307e2f; $custom-light: #72a46a; $custom-dark: #000000;
JSON
{
"hex": "#307e2f",
"rgb": {
"r": 48,
"g": 126,
"b": 47
},
"hsl": {
"h": 119.241,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.52655,
"c": 0.13776,
"h": 143.1
},
"luminance": 0.15755
}Semantic roles & 50–950 ramp
primary
#307E2F
secondary
#AB5DAC
accent
#52D5D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A