#308B3C#308B3C

#308B3C is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.144 H 145.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#308B3C
RGBrgb(48, 139, 60)
HSLhsl(128, 49%, 37%)
HSVhsv(128, 65%, 55%)
CMYKcmyk(65.5%, 0%, 56.8%, 45.5%)
CIE-LABlab(51.17, -43.93, 34.09)
CIE-LCHlch(51.17, 55.61, 142.18°)
OKLaboklab(56.44% -0.1188 0.0813)
OKLCHoklch(56.44% 0.144 145.6)
XYZxyz(11.2664, 19.4187, 7.4285)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B3C #8B307F
analogous
#528B30 #308B3C #308B6A
triadic
#308B3C #3C308B #8B3C30
tetradic
#308B3C #30528B #8B307F #8B6A30
square
#308B3C #30528B #8B307F #8B6A30
split-complementary
#308B3C #6A308B #8B3052
monochromatic
#113015 #205E28 #308B3C #40B850 #6ACC77

Accessibility & contrast

On white

4.30
#308B3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#308B3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B3C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B3C#FFFFFF#000000##000000
##308B3C1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F35
Deuteranopia (green-blind)
#827742
Tritanopia (blue-blind)
#188879
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308b3c;
/* rgb */ color: rgb(48, 139, 60);
/* oklch */ color: oklch(56.4% 0.144 145.6);
Tailwind
colors: {
  custom: {
    50: '#74ae74',
    500: '#308b3c',
    950: '#000000',
  },
}
SCSS
$custom: #308b3c;
$custom-light: #74ae74;
$custom-dark: #000000;
JSON
{
  "hex": "#308b3c",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 60
  },
  "hsl": {
    "h": 127.912,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56436,
    "c": 0.14395,
    "h": 145.6
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#308B3C
secondary
#B364A8
accent
#50C6D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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