#309D1F#309D1F

#309D1F is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.186 H 141.3°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#309D1F
RGBrgb(48, 157, 31)
HSLhsl(112, 67%, 37%)
HSVhsv(112, 80%, 62%)
CMYKcmyk(69.4%, 0%, 80.3%, 38.4%)
CIE-LABlab(56.92, -53.28, 52.34)
CIE-LCHlch(56.92, 74.69, 135.51°)
OKLaboklab(61.11% -0.1455 0.1166)
OKLCHoklch(61.11% 0.186 141.3)
XYZxyz(13.5225, 24.8398, 5.3780)
Luminance0.2484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309D1F #8C1F9D
analogous
#6F9D1F #309D1F #1F9D4D
triadic
#309D1F #1F309D #9D1F30
tetradic
#309D1F #1F6F9D #8C1F9D #9D4D1F
square
#309D1F #1F6F9D #8C1F9D #9D4D1F
split-complementary
#309D1F #4D1F9D #9D1F6F
monochromatic
#11370B #206A15 #309D1F #40D029 #6ADE58

Accessibility & contrast

On white

3.52
#309D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#309D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309D1F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309D1F#FFFFFF#000000##000000
##309D1F1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#179886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #309d1f;
/* rgb */ color: rgb(48, 157, 31);
/* oklch */ color: oklch(61.1% 0.186 141.3);
Tailwind
colors: {
  custom: {
    50: '#79bb66',
    500: '#309d1f',
    950: '#000000',
  },
}
SCSS
$custom: #309d1f;
$custom-light: #79bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#309d1f",
  "rgb": {
    "r": 48,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 111.905,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61114,
    "c": 0.18647,
    "h": 141.3
  },
  "luminance": 0.24841
}

Semantic roles & 50–950 ramp

primary
#309D1F
secondary
#B356C2
accent
#3EEAD3
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #309D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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