#308C2F#308C2F
#308C2F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.6% C 0.156 H 143.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #308C2F |
|---|---|
| RGB | rgb(48, 140, 47) |
| HSL | hsl(119, 50%, 37%) |
| HSV | hsv(119, 66%, 55%) |
| CMYK | cmyk(65.7%, 0%, 66.4%, 45.1%) |
| CIE-LAB | lab(51.37, -45.92, 40.54) |
| CIE-LCH | lch(51.37, 61.25, 138.56°) |
| OKLab | oklab(56.55% -0.1247 0.094) |
| OKLCH | oklch(56.55% 0.156 143) |
| XYZ | xyz(11.1095, 19.5887, 5.8843) |
| Luminance | 0.1959 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.71
Emerald Green
#028F1E
ΔE00 2.74
Kelley Green
#009337
ΔE00 3.36
Irish Green
#019529
ΔE00 3.60
True Green
#089404
ΔE00 4.80
Fern Green
#548D44
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308C2F #8B2F8C
analogous
#5F8C2F #308C2F #2F8C5D
triadic
#308C2F #2F308C #8C2F30
tetradic
#308C2F #2F5F8C #8B2F8C #8C5D2F
square
#308C2F #2F5F8C #8B2F8C #8C5D2F
split-complementary
#308C2F #5D2F8C #8C2F5F
monochromatic
#113010 #205E20 #308C2F #40BA3E #6ACD69
Accessibility & contrast
On white
4.27
#308C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#308C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308C2F
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308C2F | 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)
#8F7F23
Deuteranopia (green-blind)
#847737
Tritanopia (blue-blind)
#1C8879
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #308c2f; /* rgb */ color: rgb(48, 140, 47); /* oklch */ color: oklch(56.6% 0.156 143.0);
Tailwind
colors: {
custom: {
50: '#74ae6c',
500: '#308c2f',
950: '#000000',
},
}SCSS
$custom: #308c2f; $custom-light: #74ae6c; $custom-dark: #000000;
JSON
{
"hex": "#308c2f",
"rgb": {
"r": 48,
"g": 140,
"b": 47
},
"hsl": {
"h": 119.355,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.56552,
"c": 0.15618,
"h": 143
},
"luminance": 0.1959
}Semantic roles & 50–950 ramp
primary
#308C2F
secondary
#B363B4
accent
#4FD9D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A