#309C2A#309C2A

#309C2A is a mid, vivid green. Relative luminance 0.246; OKLCH L 60.9% C 0.179 H 142.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#309C2A
RGBrgb(48, 156, 42)
HSLhsl(117, 58%, 39%)
HSVhsv(117, 73%, 61%)
CMYKcmyk(69.2%, 0%, 73.1%, 38.8%)
CIE-LABlab(56.66, -52.13, 48.24)
CIE-LCHlch(56.66, 71.03, 137.22°)
OKLaboklab(60.92% -0.1419 0.1096)
OKLCHoklch(60.92% 0.179 142.3)
XYZxyz(13.5245, 24.5710, 6.2200)
Luminance0.2457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309C2A #962A9C
analogous
#699C2A #309C2A #2A9C5D
triadic
#309C2A #2A309C #9C2A30
tetradic
#309C2A #2A699C #962A9C #9C5D2A
square
#309C2A #2A699C #962A9C #9C5D2A
split-complementary
#309C2A #5D2A9C #9C2A69
monochromatic
#123C10 #216C1D #309C2A #41CA39 #6FD76A

Accessibility & contrast

On white

3.55
#309C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#309C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309C2A
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309C2A#FFFFFF#000000##000000
##309C2A1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D16
Deuteranopia (green-blind)
#938536
Tritanopia (blue-blind)
#159786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #309c2a;
/* rgb */ color: rgb(48, 156, 42);
/* oklch */ color: oklch(60.9% 0.179 142.3);
Tailwind
colors: {
  custom: {
    50: '#78ba6b',
    500: '#309c2a',
    950: '#000000',
  },
}
SCSS
$custom: #309c2a;
$custom-light: #78ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#309c2a",
  "rgb": {
    "r": 48,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 116.842,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60916,
    "c": 0.17924,
    "h": 142.3
  },
  "luminance": 0.24572
}

Semantic roles & 50–950 ramp

primary
#309C2A
secondary
#B965BD
accent
#47E1D9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309C2A

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

Preview Lab → · Contrast checker → · Palette generator →

#309C2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva