#308546#308546

#308546 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.9% C 0.126 H 149.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#308546
RGBrgb(48, 133, 70)
HSLhsl(136, 47%, 35%)
HSVhsv(136, 64%, 52%)
CMYKcmyk(63.9%, 0%, 47.4%, 47.8%)
CIE-LABlab(49.31, -39.99, 26.55)
CIE-LCHlch(49.31, 47.99, 146.42°)
OKLaboklab(54.94% -0.108 0.065)
OKLCHoklch(54.94% 0.126 149)
XYZxyz(10.7112, 17.8446, 8.6730)
Luminance0.1785 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308546 #85306F
analogous
#458530 #308546 #308570
triadic
#308546 #463085 #854630
tetradic
#308546 #304585 #85306F #857030
square
#308546 #304585 #85306F #857030
split-complementary
#308546 #703085 #853045
monochromatic
#102B17 #20582E #308546 #40B25E #67C880

Accessibility & contrast

On white

4.60
#308546 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #308546
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308546#FFFFFF#000000##FFFFFF
##3085461.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A41
Deuteranopia (green-blind)
#7B724A
Tritanopia (blue-blind)
#168276
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308546;
/* rgb */ color: rgb(48, 133, 70);
/* oklch */ color: oklch(54.9% 0.126 149.0);
Tailwind
colors: {
  custom: {
    50: '#72a97a',
    500: '#308546',
    950: '#000000',
  },
}
SCSS
$custom: #308546;
$custom-light: #72a97a;
$custom-dark: #000000;
JSON
{
  "hex": "#308546",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 70
  },
  "hsl": {
    "h": 135.529,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54942,
    "c": 0.12603,
    "h": 149
  },
  "luminance": 0.17846
}

Semantic roles & 50–950 ramp

primary
#308546
secondary
#AF619B
accent
#51B4D7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #308546

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

Preview Lab → · Contrast checker → · Palette generator →

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