#309E2F#309E2F

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

Color values

HEX#309E2F
RGBrgb(48, 158, 47)
HSLhsl(119, 54%, 40%)
HSVhsv(119, 70%, 62%)
CMYKcmyk(69.6%, 0%, 70.3%, 38%)
CIE-LABlab(57.35, -52.38, 46.99)
CIE-LCHlch(57.35, 70.37, 138.11°)
OKLaboklab(61.51% -0.1423 0.1076)
OKLCHoklch(61.51% 0.178 142.9)
XYZxyz(13.9580, 25.2858, 6.8338)
Luminance0.2529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309E2F #9D2F9E
analogous
#689E2F #309E2F #2F9E65
triadic
#309E2F #2F309E #9E2F30
tetradic
#309E2F #2F689E #9D2F9E #9E652F
square
#309E2F #2F689E #9D2F9E #9E652F
split-complementary
#309E2F #652F9E #9E2F68
monochromatic
#134013 #226F21 #309E2F #44C743 #73D572

Accessibility & contrast

On white

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

On black

6.06
#309E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309E2F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309E2F#FFFFFF#000000##000000
##309E2F1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F1E
Deuteranopia (green-blind)
#95863A
Tritanopia (blue-blind)
#119988
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309e2f;
/* rgb */ color: rgb(48, 158, 47);
/* oklch */ color: oklch(61.5% 0.178 142.9);
Tailwind
colors: {
  custom: {
    50: '#78bc6e',
    500: '#309e2f',
    950: '#000000',
  },
}
SCSS
$custom: #309e2f;
$custom-light: #78bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#309e2f",
  "rgb": {
    "r": 48,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 119.459,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61507,
    "c": 0.17837,
    "h": 142.9
  },
  "luminance": 0.25287
}

Semantic roles & 50–950 ramp

primary
#309E2F
secondary
#BC6CBD
accent
#4ADEDC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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