#308247#308247

#308247 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.121 H 149.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#308247
RGBrgb(48, 130, 71)
HSLhsl(137, 46%, 35%)
HSVhsv(137, 63%, 51%)
CMYKcmyk(63.1%, 0%, 45.4%, 49%)
CIE-LABlab(48.32, -38.57, 24.74)
CIE-LCHlch(48.32, 45.82, 147.33°)
OKLaboklab(54.14% -0.1042 0.0609)
OKLCHoklch(54.14% 0.121 149.7)
XYZxyz(10.3381, 17.0476, 8.7057)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308247 #82306B
analogous
#428230 #308247 #308270
triadic
#308247 #473082 #824730
tetradic
#308247 #304282 #82306B #827030
square
#308247 #304282 #82306B #827030
split-complementary
#308247 #703082 #823042
monochromatic
#0F2916 #1F552F #308247 #41AF5F #66C681

Accessibility & contrast

On white

4.76
#308247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#308247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308247
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308247#FFFFFF#000000##FFFFFF
##3082471.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837743
Deuteranopia (green-blind)
#78704B
Tritanopia (blue-blind)
#178074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308247;
/* rgb */ color: rgb(48, 130, 71);
/* oklch */ color: oklch(54.1% 0.121 149.7);
Tailwind
colors: {
  custom: {
    50: '#71a77b',
    500: '#308247',
    950: '#000000',
  },
}
SCSS
$custom: #308247;
$custom-light: #71a77b;
$custom-dark: #000000;
JSON
{
  "hex": "#308247",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 71
  },
  "hsl": {
    "h": 136.829,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54135,
    "c": 0.12069,
    "h": 149.7
  },
  "luminance": 0.17049
}

Semantic roles & 50–950 ramp

primary
#308247
secondary
#AE6098
accent
#52B1D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #308247

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

Preview Lab → · Contrast checker → · Palette generator →

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