#309A2D#309A2D

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

Color values

HEX#309A2D
RGBrgb(48, 154, 45)
HSLhsl(118, 55%, 39%)
HSVhsv(118, 71%, 60%)
CMYKcmyk(68.8%, 0%, 70.8%, 39.6%)
CIE-LABlab(56.02, -51.17, 46.39)
CIE-LCHlch(56.02, 69.07, 137.80°)
OKLaboklab(60.39% -0.1391 0.1061)
OKLCHoklch(60.39% 0.175 142.7)
XYZxyz(13.2474, 23.9276, 6.4025)
Luminance0.2393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309A2D #972D9A
analogous
#679A2D #309A2D #2D9A61
triadic
#309A2D #2D309A #9A2D30
tetradic
#309A2D #2D679A #972D9A #9A612D
square
#309A2D #2D679A #972D9A #9A612D
split-complementary
#309A2D #612D9A #9A2D67
monochromatic
#123B11 #216B1F #309A2D #41C73E #70D46D

Accessibility & contrast

On white

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

On black

5.79
#309A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309A2D
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309A2D#FFFFFF#000000##000000
##309A2D1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1C
Deuteranopia (green-blind)
#918338
Tritanopia (blue-blind)
#159584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #309a2d;
/* rgb */ color: rgb(48, 154, 45);
/* oklch */ color: oklch(60.4% 0.175 142.7);
Tailwind
colors: {
  custom: {
    50: '#78b96c',
    500: '#309a2d',
    950: '#000000',
  },
}
SCSS
$custom: #309a2d;
$custom-light: #78b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#309a2d",
  "rgb": {
    "r": 48,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 118.349,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60393,
    "c": 0.17492,
    "h": 142.7
  },
  "luminance": 0.23929
}

Semantic roles & 50–950 ramp

primary
#309A2D
secondary
#B967BB
accent
#4ADEDA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #309A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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