#309F42#309F42

#309F42 is a mid, vivid green. Relative luminance 0.258; OKLCH L 62.0% C 0.165 H 145.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#309F42
RGBrgb(48, 159, 66)
HSLhsl(130, 54%, 41%)
HSVhsv(130, 70%, 62%)
CMYKcmyk(69.8%, 0%, 58.5%, 37.6%)
CIE-LABlab(57.86, -50.60, 39.06)
CIE-LCHlch(57.86, 63.92, 142.33°)
OKLaboklab(61.99% -0.1366 0.0926)
OKLCHoklch(61.99% 0.165 145.9)
XYZxyz(14.5994, 25.8164, 9.3669)
Luminance0.2582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F42 #9F308D
analogous
#559F30 #309F42 #309F79
triadic
#309F42 #42309F #9F4230
tetradic
#309F42 #30559F #9F308D #9F7930
square
#309F42 #30559F #9F308D #9F7930
split-complementary
#309F42 #79309F #9F3055
monochromatic
#14411B #22702E #309F42 #45C75A #74D584

Accessibility & contrast

On white

3.41
#309F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#309F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309F42
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309F42#FFFFFF#000000##000000
##309F421.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19139
Deuteranopia (green-blind)
#948749
Tritanopia (blue-blind)
#039B8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #309f42;
/* rgb */ color: rgb(48, 159, 66);
/* oklch */ color: oklch(62.0% 0.165 145.9);
Tailwind
colors: {
  custom: {
    50: '#78bc79',
    500: '#309f42',
    950: '#000000',
  },
}
SCSS
$custom: #309f42;
$custom-light: #78bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#309f42",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 66
  },
  "hsl": {
    "h": 129.73,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.16503,
    "h": 145.9
  },
  "luminance": 0.25818
}

Semantic roles & 50–950 ramp

primary
#309F42
secondary
#BD6EB0
accent
#4BC5DD
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #309F42

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

Preview Lab → · Contrast checker → · Palette generator →

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