#309E42#309E42

#309E42 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.7% C 0.164 H 145.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#309E42
RGBrgb(48, 158, 66)
HSLhsl(130, 53%, 40%)
HSVhsv(130, 70%, 62%)
CMYKcmyk(69.6%, 0%, 58.2%, 38%)
CIE-LABlab(57.53, -50.23, 38.67)
CIE-LCHlch(57.53, 63.40, 142.41°)
OKLaboklab(61.72% -0.1356 0.0918)
OKLCHoklch(61.72% 0.164 145.9)
XYZxyz(14.4282, 25.4739, 9.3098)
Luminance0.2547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309E42 #9E308C
analogous
#559E30 #309E42 #309E79
triadic
#309E42 #42309E #9E4230
tetradic
#309E42 #30559E #9E308C #9E7930
square
#309E42 #30559E #9E308C #9E7930
split-complementary
#309E42 #79309E #9E3055
monochromatic
#13401B #226F2E #309E42 #45C65A #74D584

Accessibility & contrast

On white

3.45
#309E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#309E42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309E42
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309E42#FFFFFF#000000##000000
##309E421.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09039
Deuteranopia (green-blind)
#938749
Tritanopia (blue-blind)
#049A8A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309e42;
/* rgb */ color: rgb(48, 158, 66);
/* oklch */ color: oklch(61.7% 0.164 145.9);
Tailwind
colors: {
  custom: {
    50: '#77bc79',
    500: '#309e42',
    950: '#000000',
  },
}
SCSS
$custom: #309e42;
$custom-light: #77bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#309e42",
  "rgb": {
    "r": 48,
    "g": 158,
    "b": 66
  },
  "hsl": {
    "h": 129.818,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61715,
    "c": 0.16375,
    "h": 145.9
  },
  "luminance": 0.25475
}

Semantic roles & 50–950 ramp

primary
#309E42
secondary
#BD6DB0
accent
#4BC5DD
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #309E42

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

Preview Lab → · Contrast checker → · Palette generator →

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