#308A4A#308A4A

#308A4A is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.4% C 0.129 H 149.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#308A4A
RGBrgb(48, 138, 74)
HSLhsl(137, 48%, 36%)
HSVhsv(137, 65%, 54%)
CMYKcmyk(65.2%, 0%, 46.4%, 45.9%)
CIE-LABlab(51.03, -41.34, 26.58)
CIE-LCHlch(51.03, 49.15, 147.26°)
OKLaboklab(56.39% -0.1116 0.0652)
OKLCHoklch(56.39% 0.129 149.7)
XYZxyz(11.5426, 19.2986, 9.5939)
Luminance0.1930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A4A #8A3070
analogous
#438A30 #308A4A #308A77
triadic
#308A4A #4A308A #8A4A30
tetradic
#308A4A #30438A #8A3070 #8A7730
square
#308A4A #30438A #8A3070 #8A7730
split-complementary
#308A4A #77308A #8A3043
monochromatic
#102F19 #205D32 #308A4A #40B762 #69CB86

Accessibility & contrast

On white

4.32
#308A4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#308A4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A4A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A4A#FFFFFF#000000##000000
##308A4A1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E45
Deuteranopia (green-blind)
#7F764E
Tritanopia (blue-blind)
#10887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308a4a;
/* rgb */ color: rgb(48, 138, 74);
/* oklch */ color: oklch(56.4% 0.129 149.7);
Tailwind
colors: {
  custom: {
    50: '#73ad7d',
    500: '#308a4a',
    950: '#000000',
  },
}
SCSS
$custom: #308a4a;
$custom-light: #73ad7d;
$custom-dark: #000000;
JSON
{
  "hex": "#308a4a",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 74
  },
  "hsl": {
    "h": 137.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56385,
    "c": 0.12925,
    "h": 149.7
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#308A4A
secondary
#B2649C
accent
#50B1D8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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