#308B4C#308B4C

#308B4C is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.129 H 150.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#308B4C
RGBrgb(48, 139, 76)
HSLhsl(138, 49%, 37%)
HSVhsv(138, 65%, 55%)
CMYKcmyk(65.5%, 0%, 45.3%, 45.5%)
CIE-LABlab(51.40, -41.39, 25.96)
CIE-LCHlch(51.40, 48.86, 147.91°)
OKLaboklab(56.69% -0.1117 0.0639)
OKLCHoklch(56.69% 0.129 150.2)
XYZxyz(11.7551, 19.6142, 10.0025)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B4C #8B306F
analogous
#418B30 #308B4C #308B7A
triadic
#308B4C #4C308B #8B4C30
tetradic
#308B4C #30418B #8B306F #8B7A30
square
#308B4C #30418B #8B306F #8B7A30
split-complementary
#308B4C #7A308B #8B3041
monochromatic
#11301A #205E33 #308B4C #40B865 #6ACC88

Accessibility & contrast

On white

4.27
#308B4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#308B4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B4C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B4C#FFFFFF#000000##000000
##308B4C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F47
Deuteranopia (green-blind)
#807750
Tritanopia (blue-blind)
#0E897C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308b4c;
/* rgb */ color: rgb(48, 139, 76);
/* oklch */ color: oklch(56.7% 0.129 150.2);
Tailwind
colors: {
  custom: {
    50: '#73ae7f',
    500: '#308b4c',
    950: '#000000',
  },
}
SCSS
$custom: #308b4c;
$custom-light: #73ae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#308b4c",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 76
  },
  "hsl": {
    "h": 138.462,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56694,
    "c": 0.1287,
    "h": 150.2
  },
  "luminance": 0.19615
}

Semantic roles & 50–950 ramp

primary
#308B4C
secondary
#B3649B
accent
#50AED8
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308B4C

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

Preview Lab → · Contrast checker → · Palette generator →

#308B4C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva