#309B42#309B42

#309B42 is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.9% C 0.160 H 146.1°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#309B42
RGBrgb(48, 155, 66)
HSLhsl(130, 53%, 40%)
HSVhsv(130, 69%, 61%)
CMYKcmyk(69%, 0%, 57.4%, 39.2%)
CIE-LABlab(56.55, -49.14, 37.51)
CIE-LCHlch(56.55, 61.82, 142.64°)
OKLaboklab(60.9% -0.1326 0.0892)
OKLCHoklch(60.9% 0.16 146.1)
XYZxyz(13.9227, 24.4629, 9.1413)
Luminance0.2446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309B42 #9B3089
analogous
#549B30 #309B42 #309B77
triadic
#309B42 #42309B #9B4230
tetradic
#309B42 #30549B #9B3089 #9B7730
square
#309B42 #30549B #9B3089 #9B7730
split-complementary
#309B42 #77309B #9B3054
monochromatic
#133E1A #226C2E #309B42 #43C559 #72D382

Accessibility & contrast

On white

3.56
#309B42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#309B42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309B42
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309B42#FFFFFF#000000##000000
##309B421.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8D39
Deuteranopia (green-blind)
#908449
Tritanopia (blue-blind)
#079787
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #309b42;
/* rgb */ color: rgb(48, 155, 66);
/* oklch */ color: oklch(60.9% 0.160 146.1);
Tailwind
colors: {
  custom: {
    50: '#77b979',
    500: '#309b42',
    950: '#000000',
  },
}
SCSS
$custom: #309b42;
$custom-light: #77b979;
$custom-dark: #000000;
JSON
{
  "hex": "#309b42",
  "rgb": {
    "r": 48,
    "g": 155,
    "b": 66
  },
  "hsl": {
    "h": 130.093,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.609,
    "c": 0.15987,
    "h": 146.1
  },
  "luminance": 0.24464
}

Semantic roles & 50–950 ramp

primary
#309B42
secondary
#BB6CAE
accent
#4CC4DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #309B42

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

Preview Lab → · Contrast checker → · Palette generator →

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