#307A2C#307A2C
#307A2C is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.135 H 142.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #307A2C |
|---|---|
| RGB | rgb(48, 122, 44) |
| HSL | hsl(117, 47%, 33%) |
| HSV | hsv(117, 64%, 48%) |
| CMYK | cmyk(60.7%, 0%, 63.9%, 52.2%) |
| CIE-LAB | lab(45.26, -39.30, 35.11) |
| CIE-LCH | lch(45.26, 52.70, 138.22°) |
| OKLab | oklab(51.5% -0.107 0.0821) |
| OKLCH | oklch(51.5% 0.135 142.5) |
| XYZ | xyz(8.6326, 14.7285, 4.7704) |
| Luminance | 0.1473 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.38
Tree Green
#2A7E19
ΔE00 3.22
Green
#008000
ΔE00 5.23
Dark Grass Green
#388004
ΔE00 5.68
Jungle Green
#048243
ΔE00 5.77
Forestgreen (CSS)
#228B22
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#307A2C #762C7A
analogous
#577A2C #307A2C #2C7A4F
triadic
#307A2C #2C307A #7A2C30
tetradic
#307A2C #2C577A #762C7A #7A4F2C
square
#307A2C #2C577A #762C7A #7A4F2C
split-complementary
#307A2C #4F2C7A #7A2C57
monochromatic
#0D200C #1E4D1C #307A2C #42A73C #61C45C
Accessibility & contrast
On white
5.32
#307A2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#307A2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #307A2C
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##307A2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##307A2C | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6F23
Deuteranopia (green-blind)
#736932
Tritanopia (blue-blind)
#247669
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #307a2c; /* rgb */ color: rgb(48, 122, 44); /* oklch */ color: oklch(51.5% 0.135 142.5);
Tailwind
colors: {
custom: {
50: '#71a168',
500: '#307a2c',
950: '#000000',
},
}SCSS
$custom: #307a2c; $custom-light: #71a168; $custom-dark: #000000;
JSON
{
"hex": "#307a2c",
"rgb": {
"r": 48,
"g": 122,
"b": 44
},
"hsl": {
"h": 116.923,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.51498,
"c": 0.13486,
"h": 142.5
},
"luminance": 0.14729
}Semantic roles & 50–950 ramp
primary
#307A2C
secondary
#A657AA
accent
#51D7D0
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A