#308F2E#308F2E
#308F2E is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.161 H 142.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #308F2E |
|---|---|
| RGB | rgb(48, 143, 46) |
| HSL | hsl(119, 51%, 37%) |
| HSV | hsv(119, 68%, 56%) |
| CMYK | cmyk(66.4%, 0%, 67.8%, 43.9%) |
| CIE-LAB | lab(52.36, -47.13, 42.07) |
| CIE-LCH | lch(52.36, 63.17, 138.25°) |
| OKLab | oklab(57.37% -0.1281 0.0971) |
| OKLCH | oklch(57.37% 0.161 142.8) |
| XYZ | xyz(11.5339, 20.4694, 5.9274) |
| Luminance | 0.2047 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.02
Emerald Green
#028F1E
ΔE00 2.39
Irish Green
#019529
ΔE00 2.74
Kelley Green
#009337
ΔE00 2.98
True Green
#089404
ΔE00 4.01
Fern Green
#548D44
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308F2E #8D2E8F
analogous
#618F2E #308F2E #2E8F5D
triadic
#308F2E #2E308F #8F2E30
tetradic
#308F2E #2E618F #8D2E8F #8F5D2E
square
#308F2E #2E618F #8D2E8F #8F5D2E
split-complementary
#308F2E #5D2E8F #8F2E61
monochromatic
#113210 #20611F #308F2E #40BD3D #6BCF69
Accessibility & contrast
On white
4.12
#308F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#308F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308F2E
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308F2E | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928221
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#1B8B7B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #308f2e; /* rgb */ color: rgb(48, 143, 46); /* oklch */ color: oklch(57.4% 0.161 142.8);
Tailwind
colors: {
custom: {
50: '#75b16b',
500: '#308f2e',
950: '#000000',
},
}SCSS
$custom: #308f2e; $custom-light: #75b16b; $custom-dark: #000000;
JSON
{
"hex": "#308f2e",
"rgb": {
"r": 48,
"g": 143,
"b": 46
},
"hsl": {
"h": 118.763,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.57372,
"c": 0.16074,
"h": 142.8
},
"luminance": 0.20471
}Semantic roles & 50–950 ramp
primary
#308F2E
secondary
#B463B6
accent
#4DDBD8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A