#308E2D#308E2D
#308E2D is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.160 H 142.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #308E2D |
|---|---|
| RGB | rgb(48, 142, 45) |
| HSL | hsl(118, 52%, 37%) |
| HSV | hsv(118, 68%, 56%) |
| CMYK | cmyk(66.2%, 0%, 68.3%, 44.3%) |
| CIE-LAB | lab(52.02, -46.87, 42.13) |
| CIE-LCH | lch(52.02, 63.02, 138.04°) |
| OKLab | oklab(57.09% -0.1274 0.0971) |
| OKLCH | oklch(57.09% 0.16 142.7) |
| XYZ | xyz(11.3649, 20.1627, 5.7750) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.75
Emerald Green
#028F1E
ΔE00 2.36
Irish Green
#019529
ΔE00 2.98
Kelley Green
#009337
ΔE00 3.17
True Green
#089404
ΔE00 4.10
Fern Green
#548D44
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308E2D #8B2D8E
analogous
#618E2D #308E2D #2D8E5B
triadic
#308E2D #2D308E #8E2D30
tetradic
#308E2D #2D618E #8B2D8E #8E5B2D
square
#308E2D #2D618E #8B2D8E #8E5B2D
split-complementary
#308E2D #5B2D8E #8E2D61
monochromatic
#113110 #20601E #308E2D #40BC3C #6ACF67
Accessibility & contrast
On white
4.17
#308E2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#308E2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308E2D
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308E2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308E2D | 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)
#918120
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#1C8A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #308e2d; /* rgb */ color: rgb(48, 142, 45); /* oklch */ color: oklch(57.1% 0.160 142.7);
Tailwind
colors: {
custom: {
50: '#75b06b',
500: '#308e2d',
950: '#000000',
},
}SCSS
$custom: #308e2d; $custom-light: #75b06b; $custom-dark: #000000;
JSON
{
"hex": "#308e2d",
"rgb": {
"r": 48,
"g": 142,
"b": 45
},
"hsl": {
"h": 118.144,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.57086,
"c": 0.16021,
"h": 142.7
},
"luminance": 0.20164
}Semantic roles & 50–950 ramp
primary
#308E2D
secondary
#B361B5
accent
#4CDBD7
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A