#309A2C#309A2C

#309A2C is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.4% C 0.176 H 142.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#309A2C
RGBrgb(48, 154, 44)
HSLhsl(118, 56%, 39%)
HSVhsv(118, 71%, 60%)
CMYKcmyk(68.8%, 0%, 71.4%, 39.6%)
CIE-LABlab(56.01, -51.26, 46.79)
CIE-LCHlch(56.01, 69.40, 137.61°)
OKLaboklab(60.38% -0.1394 0.1068)
OKLCHoklch(60.38% 0.176 142.6)
XYZxyz(13.2284, 23.9200, 6.3023)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309A2C #962C9A
analogous
#679A2C #309A2C #2C9A5F
triadic
#309A2C #2C309A #9A2C30
tetradic
#309A2C #2C679A #962C9A #9A5F2C
square
#309A2C #2C679A #962C9A #9A5F2C
split-complementary
#309A2C #5F2C9A #9A2C67
monochromatic
#123B11 #216A1E #309A2C #41C73C #6FD56C

Accessibility & contrast

On white

3.63
#309A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#309A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309A2C
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309A2C#FFFFFF#000000##000000
##309A2C1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1B
Deuteranopia (green-blind)
#918337
Tritanopia (blue-blind)
#169584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #309a2c;
/* rgb */ color: rgb(48, 154, 44);
/* oklch */ color: oklch(60.4% 0.176 142.6);
Tailwind
colors: {
  custom: {
    50: '#78b96c',
    500: '#309a2c',
    950: '#000000',
  },
}
SCSS
$custom: #309a2c;
$custom-light: #78b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#309a2c",
  "rgb": {
    "r": 48,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 117.818,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60384,
    "c": 0.17558,
    "h": 142.6
  },
  "luminance": 0.23921
}

Semantic roles & 50–950 ramp

primary
#309A2C
secondary
#B966BC
accent
#49DFD9
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #309A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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