#308C2B#308C2B
#308C2B is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.159 H 142.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #308C2B |
|---|---|
| RGB | rgb(48, 140, 43) |
| HSL | hsl(117, 53%, 36%) |
| HSV | hsv(117, 69%, 55%) |
| CMYK | cmyk(65.7%, 0%, 69.3%, 45.1%) |
| CIE-LAB | lab(51.33, -46.33, 42.26) |
| CIE-LCH | lch(51.33, 62.71, 137.63°) |
| OKLab | oklab(56.51% -0.1261 0.0971) |
| OKLCH | oklch(56.51% 0.159 142.4) |
| XYZ | xyz(11.0324, 19.5579, 5.4787) |
| Luminance | 0.1956 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.32
Emerald Green
#028F1E
ΔE00 2.45
Irish Green
#019529
ΔE00 3.53
Kelley Green
#009337
ΔE00 3.65
True Green
#089404
ΔE00 4.38
Fern Green
#548D44
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308C2B #872B8C
analogous
#608C2B #308C2B #2B8C56
triadic
#308C2B #2B308C #8C2B30
tetradic
#308C2B #2B608C #872B8C #8C562B
square
#308C2B #2B608C #872B8C #8C562B
split-complementary
#308C2B #562B8C #8C2B60
monochromatic
#102E0E #205D1D #308C2B #40BB39 #68CF62
Accessibility & contrast
On white
4.28
#308C2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#308C2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308C2B
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308C2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308C2B | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#1E8878
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #308c2b; /* rgb */ color: rgb(48, 140, 43); /* oklch */ color: oklch(56.5% 0.159 142.4);
Tailwind
colors: {
custom: {
50: '#75ae69',
500: '#308c2b',
950: '#000000',
},
}SCSS
$custom: #308c2b; $custom-light: #75ae69; $custom-dark: #000000;
JSON
{
"hex": "#308c2b",
"rgb": {
"r": 48,
"g": 140,
"b": 43
},
"hsl": {
"h": 116.907,
"s": 53.005,
"l": 35.882
},
"oklch": {
"l": 0.56512,
"c": 0.15916,
"h": 142.4
},
"luminance": 0.19559
}Semantic roles & 50–950 ramp
primary
#308C2B
secondary
#B15EB5
accent
#4BDCD5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A