#308C2A#308C2A
#308C2A is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.160 H 142.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #308C2A |
|---|---|
| RGB | rgb(48, 140, 42) |
| HSL | hsl(116, 54%, 36%) |
| HSV | hsv(116, 70%, 55%) |
| CMYK | cmyk(65.7%, 0%, 70%, 45.1%) |
| CIE-LAB | lab(51.33, -46.43, 42.67) |
| CIE-LCH | lch(51.33, 63.06, 137.41°) |
| OKLab | oklab(56.5% -0.1264 0.0979) |
| OKLCH | oklch(56.5% 0.16 142.2) |
| XYZ | xyz(11.0143, 19.5506, 5.3832) |
| Luminance | 0.1955 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.25
Emerald Green
#028F1E
ΔE00 2.40
Irish Green
#019529
ΔE00 3.53
Kelley Green
#009337
ΔE00 3.73
True Green
#089404
ΔE00 4.28
Fern Green
#548D44
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308C2A #862A8C
analogous
#618C2A #308C2A #2A8C55
triadic
#308C2A #2A308C #8C2A30
tetradic
#308C2A #2A618C #862A8C #8C552A
square
#308C2A #2A618C #862A8C #8C552A
split-complementary
#308C2A #552A8C #8C2A61
monochromatic
#102E0E #205D1C #308C2A #40BB38 #68D061
Accessibility & contrast
On white
4.28
#308C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#308C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308C2A
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308C2A | 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)
#8F7F1C
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#1E8878
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #308c2a; /* rgb */ color: rgb(48, 140, 42); /* oklch */ color: oklch(56.5% 0.160 142.2);
Tailwind
colors: {
custom: {
50: '#75ae69',
500: '#308c2a',
950: '#000000',
},
}SCSS
$custom: #308c2a; $custom-light: #75ae69; $custom-dark: #000000;
JSON
{
"hex": "#308c2a",
"rgb": {
"r": 48,
"g": 140,
"b": 42
},
"hsl": {
"h": 116.327,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.56502,
"c": 0.15987,
"h": 142.2
},
"luminance": 0.19552
}Semantic roles & 50–950 ramp
primary
#308C2A
secondary
#B05CB5
accent
#4BDDD4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A