#309E1F#309E1F

#309E1F is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.4% C 0.188 H 141.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#309E1F
RGBrgb(48, 158, 31)
HSLhsl(112, 67%, 37%)
HSVhsv(112, 80%, 62%)
CMYKcmyk(69.6%, 0%, 80.4%, 38%)
CIE-LABlab(57.25, -53.62, 52.66)
CIE-LCHlch(57.25, 75.15, 135.52°)
OKLaboklab(61.39% -0.1464 0.1172)
OKLCHoklch(61.39% 0.188 141.3)
XYZxyz(13.6924, 25.1796, 5.4346)
Luminance0.2518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309E1F #8D1F9E
analogous
#6F9E1F #309E1F #1F9E4E
triadic
#309E1F #1F309E #9E1F30
tetradic
#309E1F #1F6F9E #8D1F9E #9E4E1F
square
#309E1F #1F6F9E #8D1F9E #9E4E1F
split-complementary
#309E1F #4E1F9E #9E1F6F
monochromatic
#11380B #206B15 #309E1F #40D129 #6BDE59

Accessibility & contrast

On white

3.48
#309E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#309E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309E1F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309E1F#FFFFFF#000000##000000
##309E1F1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#179987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #309e1f;
/* rgb */ color: rgb(48, 158, 31);
/* oklch */ color: oklch(61.4% 0.188 141.3);
Tailwind
colors: {
  custom: {
    50: '#79bc66',
    500: '#309e1f',
    950: '#000000',
  },
}
SCSS
$custom: #309e1f;
$custom-light: #79bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#309e1f",
  "rgb": {
    "r": 48,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 111.969,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61388,
    "c": 0.18759,
    "h": 141.3
  },
  "luminance": 0.25181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #309E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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