#309518#309518

#309518 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.181 H 140.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#309518
RGBrgb(48, 149, 24)
HSLhsl(108, 72%, 34%)
HSVhsv(108, 84%, 58%)
CMYKcmyk(67.8%, 0%, 83.9%, 41.6%)
CIE-LABlab(54.23, -50.96, 51.89)
CIE-LCHlch(54.23, 72.73, 134.48°)
OKLaboklab(58.87% -0.1396 0.1147)
OKLCHoklch(58.87% 0.181 140.6)
XYZxyz(12.1306, 22.1880, 4.5074)
Luminance0.2219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309518 #7D1895
analogous
#6F9518 #309518 #18953F
triadic
#309518 #183095 #951830
tetradic
#309518 #186F95 #7D1895 #953F18
square
#309518 #186F95 #7D1895 #953F18
split-complementary
#309518 #3F1895 #95186F
monochromatic
#0E2C07 #1F6010 #309518 #41CA20 #64E146

Accessibility & contrast

On white

3.86
#309518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#309518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309518
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309518#FFFFFF#000000##000000
##3095181.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#1D907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #309518;
/* rgb */ color: rgb(48, 149, 24);
/* oklch */ color: oklch(58.9% 0.181 140.6);
Tailwind
colors: {
  custom: {
    50: '#77b561',
    500: '#309518',
    950: '#000000',
  },
}
SCSS
$custom: #309518;
$custom-light: #77b561;
$custom-dark: #000000;
JSON
{
  "hex": "#309518",
  "rgb": {
    "r": 48,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 108.48,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58869,
    "c": 0.18064,
    "h": 140.6
  },
  "luminance": 0.22189
}

Semantic roles & 50–950 ramp

primary
#309518
secondary
#AB46C2
accent
#39EFCC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #309518

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

Preview Lab → · Contrast checker → · Palette generator →

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