#308C2E#308C2E
#308C2E is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.157 H 142.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #308C2E |
|---|---|
| RGB | rgb(48, 140, 46) |
| HSL | hsl(119, 51%, 36%) |
| HSV | hsv(119, 67%, 55%) |
| CMYK | cmyk(65.7%, 0%, 67.1%, 45.1%) |
| CIE-LAB | lab(51.36, -46.02, 40.98) |
| CIE-LCH | lch(51.36, 61.62, 138.32°) |
| OKLab | oklab(56.54% -0.1251 0.0948) |
| OKLCH | oklch(56.54% 0.157 142.9) |
| XYZ | xyz(11.0895, 19.5807, 5.7793) |
| Luminance | 0.1958 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.60
Emerald Green
#028F1E
ΔE00 2.66
Kelley Green
#009337
ΔE00 3.43
Irish Green
#019529
ΔE00 3.57
True Green
#089404
ΔE00 4.69
Fern Green
#548D44
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308C2E #8A2E8C
analogous
#5F8C2E #308C2E #2E8C5B
triadic
#308C2E #2E308C #8C2E30
tetradic
#308C2E #2E5F8C #8A2E8C #8C5B2E
square
#308C2E #2E5F8C #8A2E8C #8C5B2E
split-complementary
#308C2E #5B2E8C #8C2E5F
monochromatic
#103010 #205E1F #308C2E #40BA3D #69CD67
Accessibility & contrast
On white
4.27
#308C2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#308C2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308C2E
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308C2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308C2E | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#847736
Tritanopia (blue-blind)
#1D8879
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #308c2e; /* rgb */ color: rgb(48, 140, 46); /* oklch */ color: oklch(56.5% 0.157 142.9);
Tailwind
colors: {
custom: {
50: '#74ae6b',
500: '#308c2e',
950: '#000000',
},
}SCSS
$custom: #308c2e; $custom-light: #74ae6b; $custom-dark: #000000;
JSON
{
"hex": "#308c2e",
"rgb": {
"r": 48,
"g": 140,
"b": 46
},
"hsl": {
"h": 118.723,
"s": 50.538,
"l": 36.471
},
"oklch": {
"l": 0.56542,
"c": 0.15695,
"h": 142.9
},
"luminance": 0.19582
}Semantic roles & 50–950 ramp
primary
#308C2E
secondary
#B262B4
accent
#4EDAD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A