#307F2E#307F2E
#307F2E is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.140 H 142.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #307F2E |
|---|---|
| RGB | rgb(48, 127, 46) |
| HSL | hsl(119, 47%, 34%) |
| HSV | hsv(119, 64%, 50%) |
| CMYK | cmyk(62.2%, 0%, 63.8%, 50.2%) |
| CIE-LAB | lab(46.98, -41.05, 36.10) |
| CIE-LCH | lch(46.98, 54.67, 138.67°) |
| OKLab | oklab(52.92% -0.1116 0.0844) |
| OKLCH | oklch(52.92% 0.14 142.9) |
| XYZ | xyz(9.3009, 16.0035, 5.1831) |
| Luminance | 0.1600 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.63
Tree Green
#2A7E19
ΔE00 2.80
Green
#008000
ΔE00 4.70
Forestgreen (CSS)
#228B22
ΔE00 4.89
Dark Grass Green
#388004
ΔE00 5.16
Jungle Green
#048243
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#307F2E #7D2E7F
analogous
#597F2E #307F2E #2E7F55
triadic
#307F2E #2E307F #7F2E30
tetradic
#307F2E #2E597F #7D2E7F #7F552E
square
#307F2E #2E597F #7D2E7F #7F552E
split-complementary
#307F2E #552E7F #7F2E59
monochromatic
#0E250D #1F521E #307F2E #41AC3E #64C661
Accessibility & contrast
On white
5.00
#307F2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#307F2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #307F2E
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##307F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##307F2E | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827325
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#227B6E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #307f2e; /* rgb */ color: rgb(48, 127, 46); /* oklch */ color: oklch(52.9% 0.140 142.9);
Tailwind
colors: {
custom: {
50: '#72a56a',
500: '#307f2e',
950: '#000000',
},
}SCSS
$custom: #307f2e; $custom-light: #72a56a; $custom-dark: #000000;
JSON
{
"hex": "#307f2e",
"rgb": {
"r": 48,
"g": 127,
"b": 46
},
"hsl": {
"h": 118.519,
"s": 46.821,
"l": 33.922
},
"oklch": {
"l": 0.52923,
"c": 0.13996,
"h": 142.9
},
"luminance": 0.16004
}Semantic roles & 50–950 ramp
primary
#307F2E
secondary
#AB5CAD
accent
#51D6D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A