#308D2F#308D2F
#308D2F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.157 H 143.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #308D2F |
|---|---|
| RGB | rgb(48, 141, 47) |
| HSL | hsl(119, 50%, 37%) |
| HSV | hsv(119, 67%, 55%) |
| CMYK | cmyk(66%, 0%, 66.7%, 44.7%) |
| CIE-LAB | lab(51.70, -46.29, 40.91) |
| CIE-LCH | lch(51.70, 61.77, 138.53°) |
| OKLab | oklab(56.83% -0.1258 0.0948) |
| OKLCH | oklch(56.83% 0.157 143) |
| XYZ | xyz(11.2562, 19.8822, 5.9332) |
| Luminance | 0.1988 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.77
Emerald Green
#028F1E
ΔE00 2.60
Kelley Green
#009337
ΔE00 3.17
Irish Green
#019529
ΔE00 3.30
True Green
#089404
ΔE00 4.56
Fern Green
#548D44
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308D2F #8C2F8D
analogous
#5F8D2F #308D2F #2F8D5D
triadic
#308D2F #2F308D #8D2F30
tetradic
#308D2F #2F5F8D #8C2F8D #8D5D2F
square
#308D2F #2F5F8D #8C2F8D #8D5D2F
split-complementary
#308D2F #5D2F8D #8D2F5F
monochromatic
#113110 #205F20 #308D2F #40BB3E #6ACD69
Accessibility & contrast
On white
4.22
#308D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#308D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308D2F
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308D2F | 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)
#908023
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#1C897A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #308d2f; /* rgb */ color: rgb(48, 141, 47); /* oklch */ color: oklch(56.8% 0.157 143.0);
Tailwind
colors: {
custom: {
50: '#75af6c',
500: '#308d2f',
950: '#000000',
},
}SCSS
$custom: #308d2f; $custom-light: #75af6c; $custom-dark: #000000;
JSON
{
"hex": "#308d2f",
"rgb": {
"r": 48,
"g": 141,
"b": 47
},
"hsl": {
"h": 119.362,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.56829,
"c": 0.15746,
"h": 143
},
"luminance": 0.19883
}Semantic roles & 50–950 ramp
primary
#308D2F
secondary
#B364B4
accent
#4EDAD8
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091007
muted
#7B7F7A