#308C4A#308C4A

#308C4A is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.132 H 149.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#308C4A
RGBrgb(48, 140, 74)
HSLhsl(137, 49%, 37%)
HSVhsv(137, 66%, 55%)
CMYKcmyk(65.7%, 0%, 47.1%, 45.1%)
CIE-LABlab(51.70, -42.15, 27.43)
CIE-LCHlch(51.70, 50.28, 146.95°)
OKLaboklab(56.93% -0.1137 0.0672)
OKLCHoklch(56.93% 0.132 149.4)
XYZxyz(11.8322, 19.8777, 9.6905)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C4A #8C3072
analogous
#448C30 #308C4A #308C78
triadic
#308C4A #4A308C #8C4A30
tetradic
#308C4A #30448C #8C3072 #8C7830
square
#308C4A #30448C #8C3072 #8C7830
split-complementary
#308C4A #78308C #8C3044
monochromatic
#11311A #205E32 #308C4A #40BA62 #6ACC86

Accessibility & contrast

On white

4.22
#308C4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#308C4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C4A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C4A#FFFFFF#000000##000000
##308C4A1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8045
Deuteranopia (green-blind)
#81784F
Tritanopia (blue-blind)
#0F897C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308c4a;
/* rgb */ color: rgb(48, 140, 74);
/* oklch */ color: oklch(56.9% 0.132 149.4);
Tailwind
colors: {
  custom: {
    50: '#73ae7d',
    500: '#308c4a',
    950: '#000000',
  },
}
SCSS
$custom: #308c4a;
$custom-light: #73ae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#308c4a",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 74
  },
  "hsl": {
    "h": 136.957,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.13209,
    "h": 149.4
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#308C4A
secondary
#B3649D
accent
#4FB2D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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