#308C3D#308C3D

#308C3D is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.144 H 145.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#308C3D
RGBrgb(48, 140, 61)
HSLhsl(128, 49%, 37%)
HSVhsv(128, 66%, 55%)
CMYKcmyk(65.7%, 0%, 56.4%, 45.1%)
CIE-LABlab(51.52, -44.17, 34.00)
CIE-LCHlch(51.52, 55.74, 142.41°)
OKLaboklab(56.73% -0.1194 0.0812)
OKLCHoklch(56.73% 0.144 145.8)
XYZxyz(11.4386, 19.7203, 7.6176)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C3D #8C307F
analogous
#518C30 #308C3D #308C6B
triadic
#308C3D #3D308C #8C3D30
tetradic
#308C3D #30518C #8C307F #8C6B30
square
#308C3D #30518C #8C307F #8C6B30
split-complementary
#308C3D #6B308C #8C3051
monochromatic
#113115 #205E29 #308C3D #40BA51 #6ACC78

Accessibility & contrast

On white

4.25
#308C3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#308C3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C3D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C3D#FFFFFF#000000##000000
##308C3D1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8036
Deuteranopia (green-blind)
#837843
Tritanopia (blue-blind)
#17897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308c3d;
/* rgb */ color: rgb(48, 140, 61);
/* oklch */ color: oklch(56.7% 0.144 145.8);
Tailwind
colors: {
  custom: {
    50: '#74ae75',
    500: '#308c3d',
    950: '#000000',
  },
}
SCSS
$custom: #308c3d;
$custom-light: #74ae75;
$custom-dark: #000000;
JSON
{
  "hex": "#308c3d",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 61
  },
  "hsl": {
    "h": 128.478,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.1444,
    "h": 145.8
  },
  "luminance": 0.19721
}

Semantic roles & 50–950 ramp

primary
#308C3D
secondary
#B364A8
accent
#4FC5D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #308C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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