#308C50#308C50

#308C50 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.126 H 151.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#308C50
RGBrgb(48, 140, 80)
HSLhsl(141, 49%, 37%)
HSVhsv(141, 66%, 55%)
CMYKcmyk(65.7%, 0%, 42.9%, 45.1%)
CIE-LABlab(51.79, -41.08, 24.29)
CIE-LCHlch(51.79, 47.72, 149.41°)
OKLaboklab(57.04% -0.1109 0.0601)
OKLCHoklch(57.04% 0.126 151.5)
XYZxyz(12.0440, 19.9625, 10.8063)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C50 #8C306C
analogous
#3E8C30 #308C50 #308C7E
triadic
#308C50 #50308C #8C5030
tetradic
#308C50 #303E8C #8C306C #8C7E30
square
#308C50 #303E8C #8C306C #8C7E30
split-complementary
#308C50 #7E308C #8C303E
monochromatic
#11311C #205E36 #308C50 #40BA6A #6ACC8C

Accessibility & contrast

On white

4.21
#308C50 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#308C50 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C50
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C50#FFFFFF#000000##000000
##308C501.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804C
Deuteranopia (green-blind)
#817854
Tritanopia (blue-blind)
#098A7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308c50;
/* rgb */ color: rgb(48, 140, 80);
/* oklch */ color: oklch(57.0% 0.126 151.5);
Tailwind
colors: {
  custom: {
    50: '#73ae82',
    500: '#308c50',
    950: '#000000',
  },
}
SCSS
$custom: #308c50;
$custom-light: #73ae82;
$custom-dark: #000000;
JSON
{
  "hex": "#308c50",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 80
  },
  "hsl": {
    "h": 140.87,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.57042,
    "c": 0.12619,
    "h": 151.5
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#308C50
secondary
#B36498
accent
#4FA9D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308C50

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

Preview Lab → · Contrast checker → · Palette generator →

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