#308F47#308F47

#308F47 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.139 H 148.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#308F47
RGBrgb(48, 143, 71)
HSLhsl(135, 50%, 37%)
HSVhsv(135, 66%, 56%)
CMYKcmyk(66.4%, 0%, 50.3%, 43.9%)
CIE-LABlab(52.65, -43.84, 30.22)
CIE-LCHlch(52.65, 53.25, 145.42°)
OKLaboklab(57.7% -0.1183 0.0734)
OKLCHoklch(57.7% 0.139 148.2)
XYZxyz(12.1778, 20.7270, 9.3189)
Luminance0.2073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F47 #8F3078
analogous
#498F30 #308F47 #308F76
triadic
#308F47 #47308F #8F4730
tetradic
#308F47 #30498F #8F3078 #8F7630
square
#308F47 #30498F #8F3078 #8F7630
split-complementary
#308F47 #76308F #8F3049
monochromatic
#11331A #216130 #308F47 #3FBD5E #6CCE83

Accessibility & contrast

On white

4.08
#308F47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#308F47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F47
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F47#FFFFFF#000000##000000
##308F471.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908341
Deuteranopia (green-blind)
#857A4C
Tritanopia (blue-blind)
#0F8C7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308f47;
/* rgb */ color: rgb(48, 143, 71);
/* oklch */ color: oklch(57.7% 0.139 148.2);
Tailwind
colors: {
  custom: {
    50: '#74b17b',
    500: '#308f47',
    950: '#000000',
  },
}
SCSS
$custom: #308f47;
$custom-light: #74b17b;
$custom-dark: #000000;
JSON
{
  "hex": "#308f47",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 71
  },
  "hsl": {
    "h": 134.526,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57701,
    "c": 0.13919,
    "h": 148.2
  },
  "luminance": 0.20728
}

Semantic roles & 50–950 ramp

primary
#308F47
secondary
#B566A2
accent
#4FB8D9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #308F47

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

Preview Lab → · Contrast checker → · Palette generator →

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