#309F2A#309F2A

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

Color values

HEX#309F2A
RGBrgb(48, 159, 42)
HSLhsl(117, 58%, 39%)
HSVhsv(117, 74%, 62%)
CMYKcmyk(69.8%, 0%, 73.6%, 37.6%)
CIE-LABlab(57.65, -53.17, 49.25)
CIE-LCHlch(57.65, 72.48, 137.19°)
OKLaboklab(61.74% -0.1447 0.1117)
OKLCHoklch(61.74% 0.183 142.3)
XYZxyz(14.0342, 25.5903, 6.3899)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F2A #992A9F
analogous
#6B9F2A #309F2A #2A9F5F
triadic
#309F2A #2A309F #9F2A30
tetradic
#309F2A #2A6B9F #992A9F #9F5F2A
square
#309F2A #2A6B9F #992A9F #9F5F2A
split-complementary
#309F2A #5F2A9F #9F2A6B
monochromatic
#133E10 #216F1D #309F2A #42CB3B #71D86B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309F2A#FFFFFF#000000##000000
##309F2A1.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)
#A39015
Deuteranopia (green-blind)
#968736
Tritanopia (blue-blind)
#139A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309f2a;
/* rgb */ color: rgb(48, 159, 42);
/* oklch */ color: oklch(61.7% 0.183 142.3);
Tailwind
colors: {
  custom: {
    50: '#79bc6b',
    500: '#309f2a',
    950: '#000000',
  },
}
SCSS
$custom: #309f2a;
$custom-light: #79bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#309f2a",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 116.923,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61738,
    "c": 0.18275,
    "h": 142.3
  },
  "luminance": 0.25592
}

Semantic roles & 50–950 ramp

primary
#309F2A
secondary
#BA66BF
accent
#46E1D9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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