#307C2F#307C2F
#307C2F is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.135 H 143.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #307C2F |
|---|---|
| RGB | rgb(48, 124, 47) |
| HSL | hsl(119, 45%, 34%) |
| HSV | hsv(119, 62%, 49%) |
| CMYK | cmyk(61.3%, 0%, 62.1%, 51.4%) |
| CIE-LAB | lab(45.97, -39.74, 34.47) |
| CIE-LCH | lch(45.97, 52.60, 139.06°) |
| OKLab | oklab(52.1% -0.108 0.081) |
| OKLCH | oklch(52.1% 0.135 143.1) |
| XYZ | xyz(8.9392, 15.2481, 5.1609) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.96
Tree Green
#2A7E19
ΔE00 3.31
Jungle Green
#048243
ΔE00 5.20
Green
#008000
ΔE00 5.27
Dark Grass Green
#388004
ΔE00 5.78
Forestgreen (CSS)
#228B22
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#307C2F #7B2F7C
analogous
#567C2F #307C2F #2F7C54
triadic
#307C2F #2F307C #7C2F30
tetradic
#307C2F #2F567C #7B2F7C #7C542F
square
#307C2F #2F567C #7B2F7C #7C542F
split-complementary
#307C2F #542F7C #7C2F56
monochromatic
#0E230D #1F501E #307C2F #41A840 #63C362
Accessibility & contrast
On white
5.19
#307C2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#307C2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #307C2F
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##307C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##307C2F | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#756A35
Tritanopia (blue-blind)
#23786B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #307c2f; /* rgb */ color: rgb(48, 124, 47); /* oklch */ color: oklch(52.1% 0.135 143.1);
Tailwind
colors: {
custom: {
50: '#71a36a',
500: '#307c2f',
950: '#000000',
},
}SCSS
$custom: #307c2f; $custom-light: #71a36a; $custom-dark: #000000;
JSON
{
"hex": "#307c2f",
"rgb": {
"r": 48,
"g": 124,
"b": 47
},
"hsl": {
"h": 119.221,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.52095,
"c": 0.13503,
"h": 143.1
},
"luminance": 0.15249
}Semantic roles & 50–950 ramp
primary
#307C2F
secondary
#A95CAA
accent
#53D5D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A