#309E2D#309E2D

#309E2D is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.5% C 0.180 H 142.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#309E2D
RGBrgb(48, 158, 45)
HSLhsl(118, 56%, 40%)
HSVhsv(118, 72%, 62%)
CMYKcmyk(69.6%, 0%, 71.5%, 38%)
CIE-LABlab(57.34, -52.56, 47.78)
CIE-LCHlch(57.34, 71.03, 137.73°)
OKLaboklab(61.49% -0.1429 0.109)
OKLCHoklch(61.49% 0.18 142.7)
XYZxyz(13.9186, 25.2701, 6.6262)
Luminance0.2527 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309E2D #9B2D9E
analogous
#699E2D #309E2D #2D9E63
triadic
#309E2D #2D309E #9E2D30
tetradic
#309E2D #2D699E #9B2D9E #9E632D
square
#309E2D #2D699E #9B2D9E #9E632D
split-complementary
#309E2D #632D9E #9E2D69
monochromatic
#133F12 #226E1F #309E2D #43C940 #72D66F

Accessibility & contrast

On white

3.47
#309E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#309E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309E2D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309E2D#FFFFFF#000000##000000
##309E2D1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F1B
Deuteranopia (green-blind)
#958638
Tritanopia (blue-blind)
#129988
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309e2d;
/* rgb */ color: rgb(48, 158, 45);
/* oklch */ color: oklch(61.5% 0.180 142.7);
Tailwind
colors: {
  custom: {
    50: '#78bc6d',
    500: '#309e2d',
    950: '#000000',
  },
}
SCSS
$custom: #309e2d;
$custom-light: #78bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#309e2d",
  "rgb": {
    "r": 48,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 118.407,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61489,
    "c": 0.17968,
    "h": 142.7
  },
  "luminance": 0.25272
}

Semantic roles & 50–950 ramp

primary
#309E2D
secondary
#BB69BD
accent
#49DFDB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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