#309C2C#309C2C

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

Color values

HEX#309C2C
RGBrgb(48, 156, 44)
HSLhsl(118, 56%, 39%)
HSVhsv(118, 72%, 61%)
CMYKcmyk(69.2%, 0%, 71.8%, 38.8%)
CIE-LABlab(56.67, -51.96, 47.48)
CIE-LCHlch(56.67, 70.38, 137.58°)
OKLaboklab(60.93% -0.1413 0.1082)
OKLCHoklch(60.93% 0.178 142.6)
XYZxyz(13.5612, 24.5857, 6.4132)
Luminance0.2459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309C2C #982C9C
analogous
#689C2C #309C2C #2C9C60
triadic
#309C2C #2C309C #9C2C30
tetradic
#309C2C #2C689C #982C9C #9C602C
square
#309C2C #2C689C #982C9C #9C602C
split-complementary
#309C2C #602C9C #9C2C68
monochromatic
#133D11 #216C1F #309C2C #42C83D #70D66D

Accessibility & contrast

On white

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

On black

5.92
#309C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309C2C
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309C2C#FFFFFF#000000##000000
##309C2C1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D1A
Deuteranopia (green-blind)
#938537
Tritanopia (blue-blind)
#149786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #309c2c;
/* rgb */ color: rgb(48, 156, 44);
/* oklch */ color: oklch(60.9% 0.178 142.6);
Tailwind
colors: {
  custom: {
    50: '#78ba6c',
    500: '#309c2c',
    950: '#000000',
  },
}
SCSS
$custom: #309c2c;
$custom-light: #78ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#309c2c",
  "rgb": {
    "r": 48,
    "g": 156,
    "b": 44
  },
  "hsl": {
    "h": 117.857,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60933,
    "c": 0.17797,
    "h": 142.6
  },
  "luminance": 0.24587
}

Semantic roles & 50–950 ramp

primary
#309C2C
secondary
#BA67BD
accent
#49DFDA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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