#308347#308347

#308347 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.4% C 0.122 H 149.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#308347
RGBrgb(48, 131, 71)
HSLhsl(137, 46%, 35%)
HSVhsv(137, 63%, 51%)
CMYKcmyk(63.4%, 0%, 45.8%, 48.6%)
CIE-LABlab(48.65, -38.98, 25.17)
CIE-LCHlch(48.65, 46.40, 147.16°)
OKLaboklab(54.41% -0.1053 0.0619)
OKLCHoklch(54.41% 0.122 149.6)
XYZxyz(10.4718, 17.3149, 8.7503)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308347 #83306C
analogous
#428330 #308347 #308371
triadic
#308347 #473083 #834730
tetradic
#308347 #304283 #83306C #837130
square
#308347 #304283 #83306C #837130
split-complementary
#308347 #713083 #833042
monochromatic
#0F2916 #20562F #308347 #40B05F #66C781

Accessibility & contrast

On white

4.71
#308347 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#308347 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308347
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308347#FFFFFF#000000##FFFFFF
##3083471.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847842
Deuteranopia (green-blind)
#79714B
Tritanopia (blue-blind)
#178174
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308347;
/* rgb */ color: rgb(48, 131, 71);
/* oklch */ color: oklch(54.4% 0.122 149.6);
Tailwind
colors: {
  custom: {
    50: '#72a87b',
    500: '#308347',
    950: '#000000',
  },
}
SCSS
$custom: #308347;
$custom-light: #72a87b;
$custom-dark: #000000;
JSON
{
  "hex": "#308347",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 71
  },
  "hsl": {
    "h": 136.627,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.12214,
    "h": 149.6
  },
  "luminance": 0.17316
}

Semantic roles & 50–950 ramp

primary
#308347
secondary
#AE6199
accent
#52B1D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #308347

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

Preview Lab → · Contrast checker → · Palette generator →

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