#308B2E#308B2E
#308B2E is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.156 H 142.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #308B2E |
|---|---|
| RGB | rgb(48, 139, 46) |
| HSL | hsl(119, 50%, 36%) |
| HSV | hsv(119, 67%, 55%) |
| CMYK | cmyk(65.5%, 0%, 66.9%, 45.5%) |
| CIE-LAB | lab(51.02, -45.65, 40.61) |
| CIE-LCH | lch(51.02, 61.10, 138.35°) |
| OKLab | oklab(56.27% -0.1241 0.094) |
| OKLCH | oklch(56.27% 0.156 142.9) |
| XYZ | xyz(10.9441, 19.2898, 5.7308) |
| Luminance | 0.1929 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.60
Emerald Green
#028F1E
ΔE00 2.84
Kelley Green
#009337
ΔE00 3.64
Irish Green
#019529
ΔE00 3.88
Fern Green
#548D44
ΔE00 4.91
True Green
#089404
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308B2E #892E8B
analogous
#5F8B2E #308B2E #2E8B5B
triadic
#308B2E #2E308B #8B2E30
tetradic
#308B2E #2E5F8B #892E8B #8B5B2E
square
#308B2E #2E5F8B #892E8B #8B5B2E
split-complementary
#308B2E #5B2E8B #8B2E5F
monochromatic
#102F10 #205D1F #308B2E #40B93D #69CD67
Accessibility & contrast
On white
4.32
#308B2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#308B2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308B2E
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308B2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308B2E | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7E22
Deuteranopia (green-blind)
#837736
Tritanopia (blue-blind)
#1D8778
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #308b2e; /* rgb */ color: rgb(48, 139, 46); /* oklch */ color: oklch(56.3% 0.156 142.9);
Tailwind
colors: {
custom: {
50: '#74ae6b',
500: '#308b2e',
950: '#000000',
},
}SCSS
$custom: #308b2e; $custom-light: #74ae6b; $custom-dark: #000000;
JSON
{
"hex": "#308b2e",
"rgb": {
"r": 48,
"g": 139,
"b": 46
},
"hsl": {
"h": 118.71,
"s": 50.27,
"l": 36.275
},
"oklch": {
"l": 0.56265,
"c": 0.15568,
"h": 142.9
},
"luminance": 0.19291
}Semantic roles & 50–950 ramp
primary
#308B2E
secondary
#B261B3
accent
#4EDAD7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A