#309540#309540

#309540 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.154 H 146.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#309540
RGBrgb(48, 149, 64)
HSLhsl(130, 51%, 39%)
HSVhsv(130, 68%, 58%)
CMYKcmyk(67.8%, 0%, 57%, 41.6%)
CIE-LABlab(54.55, -47.18, 36.11)
CIE-LCHlch(54.55, 59.42, 142.57°)
OKLaboklab(59.24% -0.1274 0.086)
OKLCHoklch(59.24% 0.154 146)
XYZxyz(12.8909, 22.4921, 8.5115)
Luminance0.2249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309540 #953085
analogous
#529530 #309540 #309572
triadic
#309540 #403095 #954030
tetradic
#309540 #305295 #953085 #957230
square
#309540 #305295 #953085 #957230
split-complementary
#309540 #723095 #953052
monochromatic
#123818 #21672C #309540 #41C255 #6FD17E

Accessibility & contrast

On white

3.82
#309540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#309540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309540
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309540#FFFFFF#000000##000000
##3095401.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978838
Deuteranopia (green-blind)
#8B7F47
Tritanopia (blue-blind)
#0F9182
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #309540;
/* rgb */ color: rgb(48, 149, 64);
/* oklch */ color: oklch(59.2% 0.154 146.0);
Tailwind
colors: {
  custom: {
    50: '#76b577',
    500: '#309540',
    950: '#000000',
  },
}
SCSS
$custom: #309540;
$custom-light: #76b577;
$custom-dark: #000000;
JSON
{
  "hex": "#309540",
  "rgb": {
    "r": 48,
    "g": 149,
    "b": 64
  },
  "hsl": {
    "h": 129.505,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59236,
    "c": 0.15376,
    "h": 146
  },
  "luminance": 0.22493
}

Semantic roles & 50–950 ramp

primary
#309540
secondary
#B869AC
accent
#4DC4DB
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #309540

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

Preview Lab → · Contrast checker → · Palette generator →

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