#308E2C#308E2C
#308E2C is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.161 H 142.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #308E2C |
|---|---|
| RGB | rgb(48, 142, 44) |
| HSL | hsl(118, 53%, 36%) |
| HSV | hsv(118, 69%, 56%) |
| CMYK | cmyk(66.2%, 0%, 69%, 44.3%) |
| CIE-LAB | lab(52.01, -46.97, 42.56) |
| CIE-LCH | lch(52.01, 63.38, 137.82°) |
| OKLab | oklab(57.08% -0.1278 0.0979) |
| OKLCH | oklch(57.08% 0.161 142.5) |
| XYZ | xyz(11.3459, 20.1551, 5.6748) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.68
Emerald Green
#028F1E
ΔE00 2.30
Irish Green
#019529
ΔE00 2.97
Kelley Green
#009337
ΔE00 3.26
True Green
#089404
ΔE00 4.00
Fern Green
#548D44
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308E2C #8A2C8E
analogous
#618E2C #308E2C #2C8E59
triadic
#308E2C #2C308E #8E2C30
tetradic
#308E2C #2C618E #8A2C8E #8E592C
square
#308E2C #2C618E #8A2C8E #8E592C
split-complementary
#308E2C #592C8E #8E2C61
monochromatic
#10310F #205F1E #308E2C #40BD3A #69CF65
Accessibility & contrast
On white
4.17
#308E2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#308E2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308E2C
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308E2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308E2C | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91811F
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#1C8A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #308e2c; /* rgb */ color: rgb(48, 142, 44); /* oklch */ color: oklch(57.1% 0.161 142.5);
Tailwind
colors: {
custom: {
50: '#75b06a',
500: '#308e2c',
950: '#000000',
},
}SCSS
$custom: #308e2c; $custom-light: #75b06a; $custom-dark: #000000;
JSON
{
"hex": "#308e2c",
"rgb": {
"r": 48,
"g": 142,
"b": 44
},
"hsl": {
"h": 117.551,
"s": 52.688,
"l": 36.471
},
"oklch": {
"l": 0.57076,
"c": 0.16094,
"h": 142.5
},
"luminance": 0.20156
}Semantic roles & 50–950 ramp
primary
#308E2C
secondary
#B260B6
accent
#4CDCD6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A