#309E2B#309E2B

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

Color values

HEX#309E2B
RGBrgb(48, 158, 43)
HSLhsl(117, 57%, 39%)
HSVhsv(117, 73%, 62%)
CMYKcmyk(69.6%, 0%, 72.8%, 38%)
CIE-LABlab(57.32, -52.74, 48.54)
CIE-LCHlch(57.32, 71.68, 137.37°)
OKLaboklab(61.47% -0.1434 0.1103)
OKLCHoklch(61.47% 0.181 142.4)
XYZxyz(13.8810, 25.2550, 6.4282)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309E2B #992B9E
analogous
#6A9E2B #309E2B #2B9E5F
triadic
#309E2B #2B309E #9E2B30
tetradic
#309E2B #2B6A9E #992B9E #9E5F2B
square
#309E2B #2B6A9E #992B9E #9E5F2B
split-complementary
#309E2B #5F2B9E #9E2B6A
monochromatic
#133E11 #216E1E #309E2B #42CA3C #71D76C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309E2B#FFFFFF#000000##000000
##309E2B1.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)
#A28F17
Deuteranopia (green-blind)
#958637
Tritanopia (blue-blind)
#139987
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309e2b;
/* rgb */ color: rgb(48, 158, 43);
/* oklch */ color: oklch(61.5% 0.181 142.4);
Tailwind
colors: {
  custom: {
    50: '#79bc6b',
    500: '#309e2b',
    950: '#000000',
  },
}
SCSS
$custom: #309e2b;
$custom-light: #79bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#309e2b",
  "rgb": {
    "r": 48,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 117.391,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61472,
    "c": 0.18096,
    "h": 142.4
  },
  "luminance": 0.25257
}

Semantic roles & 50–950 ramp

primary
#309E2B
secondary
#BA67BE
accent
#47E0DA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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