#308147#308147

#308147 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.9% C 0.119 H 149.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#308147
RGBrgb(48, 129, 71)
HSLhsl(137, 46%, 35%)
HSVhsv(137, 63%, 51%)
CMYKcmyk(62.8%, 0%, 45%, 49.4%)
CIE-LABlab(47.99, -38.15, 24.30)
CIE-LCHlch(47.99, 45.23, 147.50°)
OKLaboklab(53.86% -0.1031 0.0599)
OKLCHoklch(53.86% 0.119 149.9)
XYZxyz(10.2058, 16.7828, 8.6616)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308147 #81306A
analogous
#428130 #308147 #308170
triadic
#308147 #473081 #814730
tetradic
#308147 #304281 #81306A #817030
square
#308147 #304281 #81306A #817030
split-complementary
#308147 #703081 #813042
monochromatic
#0F2816 #1F542E #308147 #41AE60 #66C681

Accessibility & contrast

On white

4.82
#308147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#308147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308147
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308147#FFFFFF#000000##FFFFFF
##3081471.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827643
Deuteranopia (green-blind)
#776F4B
Tritanopia (blue-blind)
#187F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308147;
/* rgb */ color: rgb(48, 129, 71);
/* oklch */ color: oklch(53.9% 0.119 149.9);
Tailwind
colors: {
  custom: {
    50: '#71a67b',
    500: '#308147',
    950: '#000000',
  },
}
SCSS
$custom: #308147;
$custom-light: #71a67b;
$custom-dark: #000000;
JSON
{
  "hex": "#308147",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 71
  },
  "hsl": {
    "h": 137.037,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53859,
    "c": 0.11921,
    "h": 149.9
  },
  "luminance": 0.16784
}

Semantic roles & 50–950 ramp

primary
#308147
secondary
#AD6097
accent
#52B0D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #308147

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

Preview Lab → · Contrast checker → · Palette generator →

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