#308548#308548

#308548 is a mid, vivid green. Relative luminance 0.179; OKLCH L 55.0% C 0.124 H 149.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#308548
RGBrgb(48, 133, 72)
HSLhsl(137, 47%, 35%)
HSVhsv(137, 64%, 52%)
CMYKcmyk(63.9%, 0%, 45.9%, 47.8%)
CIE-LABlab(49.34, -39.64, 25.50)
CIE-LCHlch(49.34, 47.13, 147.25°)
OKLaboklab(54.98% -0.1071 0.0627)
OKLCHoklch(54.98% 0.124 149.7)
XYZxyz(10.7754, 17.8702, 9.0111)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308548 #85306D
analogous
#438530 #308548 #308572
triadic
#308548 #483085 #854830
tetradic
#308548 #304385 #85306D #857230
square
#308548 #304385 #85306D #857230
split-complementary
#308548 #723085 #853043
monochromatic
#102B17 #205830 #308548 #40B260 #67C883

Accessibility & contrast

On white

4.59
#308548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#308548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308548
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308548#FFFFFF#000000##FFFFFF
##3085481.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A43
Deuteranopia (green-blind)
#7B724C
Tritanopia (blue-blind)
#158376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308548;
/* rgb */ color: rgb(48, 133, 72);
/* oklch */ color: oklch(55.0% 0.124 149.7);
Tailwind
colors: {
  custom: {
    50: '#72a97c',
    500: '#308548',
    950: '#000000',
  },
}
SCSS
$custom: #308548;
$custom-light: #72a97c;
$custom-dark: #000000;
JSON
{
  "hex": "#308548",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 72
  },
  "hsl": {
    "h": 136.941,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54978,
    "c": 0.12405,
    "h": 149.7
  },
  "luminance": 0.17871
}

Semantic roles & 50–950 ramp

primary
#308548
secondary
#AF6199
accent
#51B1D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #308548

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

Preview Lab → · Contrast checker → · Palette generator →

#308548 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva