#308D2E#308D2E
#308D2E is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.158 H 142.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #308D2E |
|---|---|
| RGB | rgb(48, 141, 46) |
| HSL | hsl(119, 51%, 37%) |
| HSV | hsv(119, 67%, 55%) |
| CMYK | cmyk(66%, 0%, 67.4%, 44.7%) |
| CIE-LAB | lab(51.69, -46.39, 41.34) |
| CIE-LCH | lch(51.69, 62.14, 138.30°) |
| OKLab | oklab(56.82% -0.1261 0.0956) |
| OKLCH | oklch(56.82% 0.158 142.8) |
| XYZ | xyz(11.2363, 19.8743, 5.8282) |
| Luminance | 0.1988 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.67
Emerald Green
#028F1E
ΔE00 2.52
Kelley Green
#009337
ΔE00 3.24
Irish Green
#019529
ΔE00 3.28
True Green
#089404
ΔE00 4.45
Fern Green
#548D44
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308D2E #8B2E8D
analogous
#608D2E #308D2E #2E8D5C
triadic
#308D2E #2E308D #8D2E30
tetradic
#308D2E #2E608D #8B2E8D #8D5C2E
square
#308D2E #2E608D #8B2E8D #8D5C2E
split-complementary
#308D2E #5C2E8D #8D2E60
monochromatic
#113110 #205F1F #308D2E #40BB3D #6ACE68
Accessibility & contrast
On white
4.22
#308D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#308D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308D2E
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308D2E | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#1C8979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #308d2e; /* rgb */ color: rgb(48, 141, 46); /* oklch */ color: oklch(56.8% 0.158 142.8);
Tailwind
colors: {
custom: {
50: '#75af6b',
500: '#308d2e',
950: '#000000',
},
}SCSS
$custom: #308d2e; $custom-light: #75af6b; $custom-dark: #000000;
JSON
{
"hex": "#308d2e",
"rgb": {
"r": 48,
"g": 141,
"b": 46
},
"hsl": {
"h": 118.737,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.56819,
"c": 0.15822,
"h": 142.8
},
"luminance": 0.19875
}Semantic roles & 50–950 ramp
primary
#308D2E
secondary
#B362B5
accent
#4EDAD7
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A