#308F50#308F50

#308F50 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.130 H 151.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#308F50
RGBrgb(48, 143, 80)
HSLhsl(140, 50%, 37%)
HSVhsv(140, 66%, 56%)
CMYKcmyk(66.4%, 0%, 44.1%, 43.9%)
CIE-LABlab(52.79, -42.30, 25.58)
CIE-LCHlch(52.79, 49.43, 148.84°)
OKLaboklab(57.86% -0.1142 0.0631)
OKLCHoklch(57.86% 0.13 151.1)
XYZxyz(12.4884, 20.8512, 10.9544)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F50 #8F306F
analogous
#3F8F30 #308F50 #308F80
triadic
#308F50 #50308F #8F5030
tetradic
#308F50 #303F8F #8F306F #8F8030
square
#308F50 #303F8F #8F306F #8F8030
split-complementary
#308F50 #80308F #8F303F
monochromatic
#11331D #216136 #308F50 #3FBD6A #6CCE8D

Accessibility & contrast

On white

4.06
#308F50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#308F50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F50
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F50#FFFFFF#000000##000000
##308F501.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90834B
Deuteranopia (green-blind)
#847B54
Tritanopia (blue-blind)
#068D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308f50;
/* rgb */ color: rgb(48, 143, 80);
/* oklch */ color: oklch(57.9% 0.130 151.1);
Tailwind
colors: {
  custom: {
    50: '#74b182',
    500: '#308f50',
    950: '#000000',
  },
}
SCSS
$custom: #308f50;
$custom-light: #74b182;
$custom-dark: #000000;
JSON
{
  "hex": "#308f50",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 80
  },
  "hsl": {
    "h": 140.211,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57858,
    "c": 0.13046,
    "h": 151.1
  },
  "luminance": 0.20852
}

Semantic roles & 50–950 ramp

primary
#308F50
secondary
#B5669A
accent
#4FABD9
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #308F50

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

Preview Lab → · Contrast checker → · Palette generator →

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