#308D4F#308D4F
#308D4F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.3% C 0.129 H 151.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #308D4F |
|---|---|
| RGB | rgb(48, 141, 79) |
| HSL | hsl(140, 49%, 37%) |
| HSV | hsv(140, 66%, 55%) |
| CMYK | cmyk(66%, 0%, 44%, 44.7%) |
| CIE-LAB | lab(52.11, -41.67, 25.25) |
| CIE-LCH | lch(52.11, 48.72, 148.79°) |
| OKLab | oklab(57.29% -0.1125 0.0623) |
| OKLCH | oklch(57.29% 0.129 151) |
| XYZ | xyz(12.1541, 20.2414, 10.6621) |
| Luminance | 0.2024 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Sea Green
#2E8B57
ΔE00 2.36
Light Forest Green
#4F9153
ΔE00 3.89
Jungle Green
#048243
ΔE00 4.79
Kelley Green
#009337
ΔE00 5.32
Fern Green
#548D44
ΔE00 5.76
Viridian
#1E9167
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#308D4F #8D306E
analogous
#408D30 #308D4F #308D7E
triadic
#308D4F #4F308D #8D4F30
tetradic
#308D4F #30408D #8D306E #8D7E30
square
#308D4F #30408D #8D306E #8D7E30
split-complementary
#308D4F #7E308D #8D3040
monochromatic
#11321C #205F35 #308D4F #40BB69 #6BCD8B
Accessibility & contrast
On white
4.16
#308D4F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#308D4F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #308D4F
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##308D4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##308D4F | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E814A
Deuteranopia (green-blind)
#827953
Tritanopia (blue-blind)
#098B7E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #308d4f; /* rgb */ color: rgb(48, 141, 79); /* oklch */ color: oklch(57.3% 0.129 151.0);
Tailwind
colors: {
custom: {
50: '#73af81',
500: '#308d4f',
950: '#000000',
},
}SCSS
$custom: #308d4f; $custom-light: #73af81; $custom-dark: #000000;
JSON
{
"hex": "#308d4f",
"rgb": {
"r": 48,
"g": 141,
"b": 79
},
"hsl": {
"h": 140,
"s": 49.206,
"l": 37.059
},
"oklch": {
"l": 0.57295,
"c": 0.1286,
"h": 151
},
"luminance": 0.20243
}Semantic roles & 50–950 ramp
primary
#308D4F
secondary
#B4659A
accent
#4FABD9
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#09100A
muted
#7B7F7C