#309F2D#309F2D

#309F2D is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.8% C 0.181 H 142.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#309F2D
RGBrgb(48, 159, 45)
HSLhsl(118, 56%, 40%)
HSVhsv(118, 72%, 62%)
CMYKcmyk(69.8%, 0%, 71.7%, 37.6%)
CIE-LABlab(57.67, -52.91, 48.12)
CIE-LCHlch(57.67, 71.52, 137.71°)
OKLaboklab(61.76% -0.1438 0.1097)
OKLCHoklch(61.76% 0.181 142.7)
XYZxyz(14.0899, 25.6126, 6.6833)
Luminance0.2561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F2D #9C2D9F
analogous
#699F2D #309F2D #2D9F63
triadic
#309F2D #2D309F #9F2D30
tetradic
#309F2D #2D699F #9C2D9F #9F632D
square
#309F2D #2D699F #9C2D9F #9F632D
split-complementary
#309F2D #632D9F #9F2D69
monochromatic
#134012 #226F20 #309F2D #44C940 #73D670

Accessibility & contrast

On white

3.43
#309F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#309F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309F2D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309F2D#FFFFFF#000000##000000
##309F2D1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901B
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#119A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309f2d;
/* rgb */ color: rgb(48, 159, 45);
/* oklch */ color: oklch(61.8% 0.181 142.7);
Tailwind
colors: {
  custom: {
    50: '#79bc6d',
    500: '#309f2d',
    950: '#000000',
  },
}
SCSS
$custom: #309f2d;
$custom-light: #79bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#309f2d",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 118.421,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.61763,
    "c": 0.18086,
    "h": 142.7
  },
  "luminance": 0.25614
}

Semantic roles & 50–950 ramp

primary
#309F2D
secondary
#BC6ABE
accent
#49DFDB
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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