#309A2F#309A2F

#309A2F is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.4% C 0.174 H 142.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#309A2F
RGBrgb(48, 154, 47)
HSLhsl(119, 53%, 39%)
HSVhsv(119, 69%, 60%)
CMYKcmyk(68.8%, 0%, 69.5%, 39.6%)
CIE-LABlab(56.03, -50.98, 45.59)
CIE-LCHlch(56.03, 68.39, 138.20°)
OKLaboklab(60.41% -0.1385 0.1046)
OKLCHoklch(60.41% 0.174 142.9)
XYZxyz(13.2868, 23.9434, 6.6101)
Luminance0.2394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309A2F #992F9A
analogous
#669A2F #309A2F #2F9A64
triadic
#309A2F #2F309A #9A2F30
tetradic
#309A2F #2F669A #992F9A #9A642F
square
#309A2F #2F669A #992F9A #9A642F
split-complementary
#309A2F #642F9A #9A2F66
monochromatic
#133C12 #216B21 #309A2F #42C541 #71D370

Accessibility & contrast

On white

3.63
#309A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#309A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309A2F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309A2F#FFFFFF#000000##000000
##309A2F1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C20
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#149584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #309a2f;
/* rgb */ color: rgb(48, 154, 47);
/* oklch */ color: oklch(60.4% 0.174 142.9);
Tailwind
colors: {
  custom: {
    50: '#77b96d',
    500: '#309a2f',
    950: '#000000',
  },
}
SCSS
$custom: #309a2f;
$custom-light: #77b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#309a2f",
  "rgb": {
    "r": 48,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 119.439,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60411,
    "c": 0.17356,
    "h": 142.9
  },
  "luminance": 0.23945
}

Semantic roles & 50–950 ramp

primary
#309A2F
secondary
#BA6ABB
accent
#4BDDDB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #309A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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