#309B2F#309B2F

#309B2F is a mid, vivid green. Relative luminance 0.243; OKLCH L 60.7% C 0.175 H 142.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#309B2F
RGBrgb(48, 155, 47)
HSLhsl(119, 53%, 40%)
HSVhsv(119, 70%, 61%)
CMYKcmyk(69%, 0%, 69.7%, 39.2%)
CIE-LABlab(56.36, -51.33, 45.94)
CIE-LCHlch(56.36, 68.89, 138.17°)
OKLaboklab(60.69% -0.1394 0.1054)
OKLCHoklch(60.69% 0.175 142.9)
XYZxyz(13.4526, 24.2749, 6.6653)
Luminance0.2428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309B2F #9A2F9B
analogous
#669B2F #309B2F #2F9B64
triadic
#309B2F #2F309B #9B2F30
tetradic
#309B2F #2F669B #9A2F9B #9B642F
square
#309B2F #2F669B #9A2F9B #9B642F
split-complementary
#309B2F #642F9B #9B2F66
monochromatic
#133D13 #216C21 #309B2F #43C642 #72D471

Accessibility & contrast

On white

3.59
#309B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#309B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309B2F
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309B2F#FFFFFF#000000##000000
##309B2F1.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1F
Deuteranopia (green-blind)
#928439
Tritanopia (blue-blind)
#149685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #309b2f;
/* rgb */ color: rgb(48, 155, 47);
/* oklch */ color: oklch(60.7% 0.175 142.9);
Tailwind
colors: {
  custom: {
    50: '#78b96d',
    500: '#309b2f',
    950: '#000000',
  },
}
SCSS
$custom: #309b2f;
$custom-light: #78b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#309b2f",
  "rgb": {
    "r": 48,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 119.444,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60686,
    "c": 0.17477,
    "h": 142.9
  },
  "luminance": 0.24276
}

Semantic roles & 50–950 ramp

primary
#309B2F
secondary
#BB6ABB
accent
#4BDDDC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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