#308740#308740

#308740 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.135 H 146.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#308740
RGBrgb(48, 135, 64)
HSLhsl(131, 48%, 36%)
HSVhsv(131, 64%, 53%)
CMYKcmyk(64.4%, 0%, 52.6%, 47.1%)
CIE-LABlab(49.89, -41.77, 30.48)
CIE-LCHlch(49.89, 51.71, 143.88°)
OKLaboklab(55.39% -0.1128 0.0736)
OKLCHoklch(55.39% 0.135 146.9)
XYZxyz(10.8076, 18.3254, 7.8171)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308740 #873077
analogous
#4B8730 #308740 #30876B
triadic
#308740 #403087 #874030
tetradic
#308740 #304B87 #873077 #876B30
square
#308740 #304B87 #873077 #876B30
split-complementary
#308740 #6B3087 #87304B
monochromatic
#102D15 #205A2B #308740 #40B455 #68C97A

Accessibility & contrast

On white

4.50
#308740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#308740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308740
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308740#FFFFFF#000000##000000
##3087401.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B3A
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#188477
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #308740;
/* rgb */ color: rgb(48, 135, 64);
/* oklch */ color: oklch(55.4% 0.135 146.9);
Tailwind
colors: {
  custom: {
    50: '#73ab76',
    500: '#308740',
    950: '#000000',
  },
}
SCSS
$custom: #308740;
$custom-light: #73ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#308740",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 131.034,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55392,
    "c": 0.13471,
    "h": 146.9
  },
  "luminance": 0.18326
}

Semantic roles & 50–950 ramp

primary
#308740
secondary
#B162A2
accent
#51BED7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308740

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

Preview Lab → · Contrast checker → · Palette generator →

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