#308D2C#308D2C
#308D2C is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.160 H 142.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #308D2C |
|---|---|
| RGB | rgb(48, 141, 44) |
| HSL | hsl(118, 52%, 36%) |
| HSV | hsv(118, 69%, 55%) |
| CMYK | cmyk(66%, 0%, 68.8%, 44.7%) |
| CIE-LAB | lab(51.68, -46.60, 42.20) |
| CIE-LCH | lch(51.68, 62.86, 137.84°) |
| OKLab | oklab(56.8% -0.1268 0.0971) |
| OKLCH | oklch(56.8% 0.16 142.5) |
| XYZ | xyz(11.1978, 19.8589, 5.6254) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.50
Emerald Green
#028F1E
ΔE00 2.38
Irish Green
#019529
ΔE00 3.25
Kelley Green
#009337
ΔE00 3.40
True Green
#089404
ΔE00 4.23
Fern Green
#548D44
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308D2C #892C8D
analogous
#618D2C #308D2C #2C8D59
triadic
#308D2C #2C308D #8D2C30
tetradic
#308D2C #2C618D #892C8D #8D592C
square
#308D2C #2C618D #892C8D #8D592C
split-complementary
#308D2C #592C8D #8D2C61
monochromatic
#10300F #205E1D #308D2C #40BC3B #69CF65
Accessibility & contrast
On white
4.22
#308D2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#308D2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308D2C
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308D2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308D2C | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90801F
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#1D8979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #308d2c; /* rgb */ color: rgb(48, 141, 44); /* oklch */ color: oklch(56.8% 0.160 142.5);
Tailwind
colors: {
custom: {
50: '#75af6a',
500: '#308d2c',
950: '#000000',
},
}SCSS
$custom: #308d2c; $custom-light: #75af6a; $custom-dark: #000000;
JSON
{
"hex": "#308d2c",
"rgb": {
"r": 48,
"g": 141,
"b": 44
},
"hsl": {
"h": 117.526,
"s": 52.432,
"l": 36.275
},
"oklch": {
"l": 0.56799,
"c": 0.15969,
"h": 142.5
},
"luminance": 0.1986
}Semantic roles & 50–950 ramp
primary
#308D2C
secondary
#B260B5
accent
#4CDCD6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A