#308F2D#308F2D
#308F2D is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.161 H 142.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #308F2D |
|---|---|
| RGB | rgb(48, 143, 45) |
| HSL | hsl(118, 52%, 37%) |
| HSV | hsv(118, 69%, 56%) |
| CMYK | cmyk(66.4%, 0%, 68.5%, 43.9%) |
| CIE-LAB | lab(52.36, -47.23, 42.49) |
| CIE-LCH | lch(52.36, 63.53, 138.02°) |
| OKLab | oklab(57.36% -0.1284 0.0979) |
| OKLCH | oklch(57.36% 0.161 142.7) |
| XYZ | xyz(11.5144, 20.4616, 5.8248) |
| Luminance | 0.2046 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.96
Emerald Green
#028F1E
ΔE00 2.33
Irish Green
#019529
ΔE00 2.72
Kelley Green
#009337
ΔE00 3.07
True Green
#089404
ΔE00 3.90
Fern Green
#548D44
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308F2D #8C2D8F
analogous
#618F2D #308F2D #2D8F5B
triadic
#308F2D #2D308F #8F2D30
tetradic
#308F2D #2D618F #8C2D8F #8F5B2D
square
#308F2D #2D618F #8C2D8F #8F5B2D
split-complementary
#308F2D #5B2D8F #8F2D61
monochromatic
#113210 #20601E #308F2D #40BE3C #6ACF67
Accessibility & contrast
On white
4.12
#308F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#308F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308F2D
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308F2D | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928220
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#1C8B7B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #308f2d; /* rgb */ color: rgb(48, 143, 45); /* oklch */ color: oklch(57.4% 0.161 142.7);
Tailwind
colors: {
custom: {
50: '#75b16b',
500: '#308f2d',
950: '#000000',
},
}SCSS
$custom: #308f2d; $custom-light: #75b16b; $custom-dark: #000000;
JSON
{
"hex": "#308f2d",
"rgb": {
"r": 48,
"g": 143,
"b": 45
},
"hsl": {
"h": 118.163,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.57362,
"c": 0.16147,
"h": 142.7
},
"luminance": 0.20463
}Semantic roles & 50–950 ramp
primary
#308F2D
secondary
#B362B6
accent
#4CDCD7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A