#309A42#309A42

#309A42 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.6% C 0.159 H 146.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#309A42
RGBrgb(48, 154, 66)
HSLhsl(130, 52%, 40%)
HSVhsv(130, 69%, 60%)
CMYKcmyk(68.8%, 0%, 57.1%, 39.6%)
CIE-LABlab(56.22, -48.77, 37.12)
CIE-LCHlch(56.22, 61.29, 142.73°)
OKLaboklab(60.63% -0.1316 0.0884)
OKLCHoklch(60.63% 0.159 146.1)
XYZxyz(13.7569, 24.1315, 9.0860)
Luminance0.2413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309A42 #9A3088
analogous
#539A30 #309A42 #309A77
triadic
#309A42 #42309A #9A4230
tetradic
#309A42 #30539A #9A3088 #9A7730
square
#309A42 #30539A #9A3088 #9A7730
split-complementary
#309A42 #77309A #9A3053
monochromatic
#133D1A #216B2E #309A42 #43C459 #72D382

Accessibility & contrast

On white

3.60
#309A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#309A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309A42
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309A42#FFFFFF#000000##000000
##309A421.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C3A
Deuteranopia (green-blind)
#8F8349
Tritanopia (blue-blind)
#089686
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #309a42;
/* rgb */ color: rgb(48, 154, 66);
/* oklch */ color: oklch(60.6% 0.159 146.1);
Tailwind
colors: {
  custom: {
    50: '#77b979',
    500: '#309a42',
    950: '#000000',
  },
}
SCSS
$custom: #309a42;
$custom-light: #77b979;
$custom-dark: #000000;
JSON
{
  "hex": "#309a42",
  "rgb": {
    "r": 48,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 130.189,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60628,
    "c": 0.15856,
    "h": 146.1
  },
  "luminance": 0.24133
}

Semantic roles & 50–950 ramp

primary
#309A42
secondary
#BB6BAD
accent
#4CC3DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #309A42

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

Preview Lab → · Contrast checker → · Palette generator →

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