#309A31#309A31

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

Color values

HEX#309A31
RGBrgb(48, 154, 49)
HSLhsl(121, 52%, 40%)
HSVhsv(121, 69%, 60%)
CMYKcmyk(68.8%, 0%, 68.2%, 39.6%)
CIE-LABlab(56.05, -50.79, 44.76)
CIE-LCHlch(56.05, 67.70, 138.61°)
OKLaboklab(60.43% -0.1378 0.1031)
OKLCHoklch(60.43% 0.172 143.2)
XYZxyz(13.3281, 23.9599, 6.8275)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309A31 #9A3099
analogous
#649A30 #309A31 #309A66
triadic
#309A31 #31309A #9A3130
tetradic
#309A31 #30649A #9A3099 #9A6630
square
#309A31 #30649A #9A3099 #9A6630
split-complementary
#309A31 #66309A #9A3064
monochromatic
#133D13 #216B22 #309A31 #43C444 #72D372

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309A31#FFFFFF#000000##000000
##309A311.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)
#9D8C23
Deuteranopia (green-blind)
#91833B
Tritanopia (blue-blind)
#149685
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #309a31;
/* rgb */ color: rgb(48, 154, 49);
/* oklch */ color: oklch(60.4% 0.172 143.2);
Tailwind
colors: {
  custom: {
    50: '#77b96e',
    500: '#309a31',
    950: '#000000',
  },
}
SCSS
$custom: #309a31;
$custom-light: #77b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#309a31",
  "rgb": {
    "r": 48,
    "g": 154,
    "b": 49
  },
  "hsl": {
    "h": 120.566,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6043,
    "c": 0.17216,
    "h": 143.2
  },
  "luminance": 0.23961
}

Semantic roles & 50–950 ramp

primary
#309A31
secondary
#BB6BBA
accent
#4CDBDC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #309A31

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

Preview Lab → · Contrast checker → · Palette generator →

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