#308C47#308C47

#308C47 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.9% C 0.135 H 148.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#308C47
RGBrgb(48, 140, 71)
HSLhsl(135, 49%, 37%)
HSVhsv(135, 66%, 55%)
CMYKcmyk(65.7%, 0%, 49.3%, 45.1%)
CIE-LABlab(51.65, -42.65, 28.98)
CIE-LCHlch(51.65, 51.56, 145.81°)
OKLaboklab(56.88% -0.1151 0.0706)
OKLCHoklch(56.88% 0.135 148.5)
XYZxyz(11.7335, 19.8383, 9.1708)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C47 #8C3075
analogous
#478C30 #308C47 #308C75
triadic
#308C47 #47308C #8C4730
tetradic
#308C47 #30478C #8C3075 #8C7530
square
#308C47 #30478C #8C3075 #8C7530
split-complementary
#308C47 #75308C #8C3047
monochromatic
#113119 #205E30 #308C47 #40BA5E #6ACC83

Accessibility & contrast

On white

4.23
#308C47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#308C47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C47
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C47#FFFFFF#000000##000000
##308C471.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8041
Deuteranopia (green-blind)
#82784C
Tritanopia (blue-blind)
#11897C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308c47;
/* rgb */ color: rgb(48, 140, 71);
/* oklch */ color: oklch(56.9% 0.135 148.5);
Tailwind
colors: {
  custom: {
    50: '#73ae7b',
    500: '#308c47',
    950: '#000000',
  },
}
SCSS
$custom: #308c47;
$custom-light: #73ae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#308c47",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 71
  },
  "hsl": {
    "h": 135,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.135,
    "h": 148.5
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#308C47
secondary
#B364A0
accent
#4FB6D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308C47

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#308C47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva