#309728#309728

#309728 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.175 H 142.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#309728
RGBrgb(48, 151, 40)
HSLhsl(116, 58%, 37%)
HSVhsv(116, 74%, 59%)
CMYKcmyk(68.2%, 0%, 73.5%, 40.8%)
CIE-LABlab(54.98, -50.56, 47.30)
CIE-LCHlch(54.98, 69.23, 136.91°)
OKLaboklab(59.53% -0.1377 0.1073)
OKLCHoklch(59.53% 0.175 142.1)
XYZxyz(12.6678, 22.9135, 5.7622)
Luminance0.2291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309728 #8F2897
analogous
#679728 #309728 #289758
triadic
#309728 #283097 #972830
tetradic
#309728 #286797 #8F2897 #975828
square
#309728 #286797 #8F2897 #975828
split-complementary
#309728 #582897 #972867
monochromatic
#11360E #21671B #309728 #3FC735 #6CD664

Accessibility & contrast

On white

3.76
#309728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#309728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309728
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309728#FFFFFF#000000##000000
##3097281.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8915
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#199281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #309728;
/* rgb */ color: rgb(48, 151, 40);
/* oklch */ color: oklch(59.5% 0.175 142.1);
Tailwind
colors: {
  custom: {
    50: '#77b769',
    500: '#309728',
    950: '#000000',
  },
}
SCSS
$custom: #309728;
$custom-light: #77b769;
$custom-dark: #000000;
JSON
{
  "hex": "#309728",
  "rgb": {
    "r": 48,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 115.676,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59526,
    "c": 0.17458,
    "h": 142.1
  },
  "luminance": 0.22915
}

Semantic roles & 50–950 ramp

primary
#309728
secondary
#B55FBC
accent
#46E1D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #309728

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

Preview Lab → · Contrast checker → · Palette generator →

#309728 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva