#308B45#308B45

#308B45 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.6% C 0.136 H 148.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#308B45
RGBrgb(48, 139, 69)
HSLhsl(134, 49%, 37%)
HSVhsv(134, 65%, 55%)
CMYKcmyk(65.5%, 0%, 50.4%, 45.5%)
CIE-LABlab(51.29, -42.58, 29.58)
CIE-LCHlch(51.29, 51.85, 145.21°)
OKLaboklab(56.57% -0.1149 0.0718)
OKLCHoklch(56.57% 0.136 148)
XYZxyz(11.5249, 19.5221, 8.7899)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B45 #8B3076
analogous
#498B30 #308B45 #308B73
triadic
#308B45 #45308B #8B4530
tetradic
#308B45 #30498B #8B3076 #8B7330
square
#308B45 #30498B #8B3076 #8B7330
split-complementary
#308B45 #73308B #8B3049
monochromatic
#113018 #205E2E #308B45 #40B85C #6ACC80

Accessibility & contrast

On white

4.28
#308B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#308B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B45
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B45#FFFFFF#000000##000000
##308B451.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F3F
Deuteranopia (green-blind)
#81774A
Tritanopia (blue-blind)
#13887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308b45;
/* rgb */ color: rgb(48, 139, 69);
/* oklch */ color: oklch(56.6% 0.136 148.0);
Tailwind
colors: {
  custom: {
    50: '#73ae7a',
    500: '#308b45',
    950: '#000000',
  },
}
SCSS
$custom: #308b45;
$custom-light: #73ae7a;
$custom-dark: #000000;
JSON
{
  "hex": "#308b45",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 69
  },
  "hsl": {
    "h": 133.846,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.13553,
    "h": 148
  },
  "luminance": 0.19523
}

Semantic roles & 50–950 ramp

primary
#308B45
secondary
#B364A1
accent
#50B9D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308B45

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

Preview Lab → · Contrast checker → · Palette generator →

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