#309A2A#309A2A

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

Color values

HEX#309A2A
RGBrgb(48, 154, 42)
HSLhsl(117, 57%, 38%)
HSVhsv(117, 73%, 60%)
CMYKcmyk(68.8%, 0%, 72.7%, 39.6%)
CIE-LABlab(55.99, -51.44, 47.56)
CIE-LCHlch(55.99, 70.06, 137.24°)
OKLaboklab(60.37% -0.14 0.1081)
OKLCHoklch(60.37% 0.177 142.3)
XYZxyz(13.1917, 23.9054, 6.1090)
Luminance0.2391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309A2A #942A9A
analogous
#689A2A #309A2A #2A9A5C
triadic
#309A2A #2A309A #9A2A30
tetradic
#309A2A #2A689A #942A9A #9A5C2A
square
#309A2A #2A689A #942A9A #9A5C2A
split-complementary
#309A2A #5C2A9A #9A2A68
monochromatic
#123A10 #216A1D #309A2A #40C938 #6ED668

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309A2A#FFFFFF#000000##000000
##309A2A1.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)
#9E8B17
Deuteranopia (green-blind)
#918335
Tritanopia (blue-blind)
#169584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #309a2a;
/* rgb */ color: rgb(48, 154, 42);
/* oklch */ color: oklch(60.4% 0.177 142.3);
Tailwind
colors: {
  custom: {
    50: '#78b96a',
    500: '#309a2a',
    950: '#000000',
  },
}
SCSS
$custom: #309a2a;
$custom-light: #78b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#309a2a",
  "rgb": {
    "r": 48,
    "g": 154,
    "b": 42
  },
  "hsl": {
    "h": 116.786,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60368,
    "c": 0.17687,
    "h": 142.3
  },
  "luminance": 0.23907
}

Semantic roles & 50–950 ramp

primary
#309A2A
secondary
#B863BC
accent
#47E0D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #309A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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