#308F45#308F45

#308F45 is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.141 H 147.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#308F45
RGBrgb(48, 143, 69)
HSLhsl(133, 50%, 37%)
HSVhsv(133, 66%, 56%)
CMYKcmyk(66.4%, 0%, 51.7%, 43.9%)
CIE-LABlab(52.62, -44.15, 31.24)
CIE-LCHlch(52.62, 54.08, 144.72°)
OKLaboklab(57.67% -0.1191 0.0756)
OKLCHoklch(57.67% 0.141 147.6)
XYZxyz(12.1147, 20.7017, 8.9865)
Luminance0.2070 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F45 #8F307A
analogous
#4B8F30 #308F45 #308F74
triadic
#308F45 #45308F #8F4530
tetradic
#308F45 #304B8F #8F307A #8F7430
square
#308F45 #304B8F #8F307A #8F7430
split-complementary
#308F45 #74308F #8F304B
monochromatic
#113319 #21612F #308F45 #3FBD5B #6CCE81

Accessibility & contrast

On white

4.09
#308F45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#308F45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F45
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F45#FFFFFF#000000##000000
##308F451.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91833F
Deuteranopia (green-blind)
#857A4A
Tritanopia (blue-blind)
#108C7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308f45;
/* rgb */ color: rgb(48, 143, 69);
/* oklch */ color: oklch(57.7% 0.141 147.6);
Tailwind
colors: {
  custom: {
    50: '#74b17a',
    500: '#308f45',
    950: '#000000',
  },
}
SCSS
$custom: #308f45;
$custom-light: #74b17a;
$custom-dark: #000000;
JSON
{
  "hex": "#308f45",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 69
  },
  "hsl": {
    "h": 133.263,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57669,
    "c": 0.14109,
    "h": 147.6
  },
  "luminance": 0.20703
}

Semantic roles & 50–950 ramp

primary
#308F45
secondary
#B566A3
accent
#4FBBD9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #308F45

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

Preview Lab → · Contrast checker → · Palette generator →

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