#308C2C#308C2C
#308C2C is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.158 H 142.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #308C2C |
|---|---|
| RGB | rgb(48, 140, 44) |
| HSL | hsl(118, 52%, 36%) |
| HSV | hsv(118, 69%, 55%) |
| CMYK | cmyk(65.7%, 0%, 68.6%, 45.1%) |
| CIE-LAB | lab(51.34, -46.23, 41.83) |
| CIE-LCH | lch(51.34, 62.35, 137.86°) |
| OKLab | oklab(56.52% -0.1258 0.0964) |
| OKLCH | oklch(56.52% 0.158 142.5) |
| XYZ | xyz(11.0510, 19.5653, 5.5765) |
| Luminance | 0.1957 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.40
Emerald Green
#028F1E
ΔE00 2.51
Irish Green
#019529
ΔE00 3.54
Kelley Green
#009337
ΔE00 3.57
True Green
#089404
ΔE00 4.48
Fern Green
#548D44
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308C2C #882C8C
analogous
#608C2C #308C2C #2C8C58
triadic
#308C2C #2C308C #8C2C30
tetradic
#308C2C #2C608C #882C8C #8C582C
square
#308C2C #2C608C #882C8C #8C582C
split-complementary
#308C2C #582C8C #8C2C60
monochromatic
#102F0F #205D1D #308C2C #40BB3B #69CE64
Accessibility & contrast
On white
4.27
#308C2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#308C2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308C2C
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308C2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308C2C | 1.00 | 4.27 | 4.91 | 4.91 |
| #FFFFFF | 4.27 | 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)
#8F7F1F
Deuteranopia (green-blind)
#847735
Tritanopia (blue-blind)
#1D8878
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #308c2c; /* rgb */ color: rgb(48, 140, 44); /* oklch */ color: oklch(56.5% 0.158 142.5);
Tailwind
colors: {
custom: {
50: '#75ae6a',
500: '#308c2c',
950: '#000000',
},
}SCSS
$custom: #308c2c; $custom-light: #75ae6a; $custom-dark: #000000;
JSON
{
"hex": "#308c2c",
"rgb": {
"r": 48,
"g": 140,
"b": 44
},
"hsl": {
"h": 117.5,
"s": 52.174,
"l": 36.078
},
"oklch": {
"l": 0.56522,
"c": 0.15844,
"h": 142.5
},
"luminance": 0.19566
}Semantic roles & 50–950 ramp
primary
#308C2C
secondary
#B15FB5
accent
#4CDCD6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A