#309417#309417

#309417 is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.6% C 0.180 H 140.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#309417
RGBrgb(48, 148, 23)
HSLhsl(108, 73%, 34%)
HSVhsv(108, 84%, 58%)
CMYKcmyk(67.6%, 0%, 84.5%, 42%)
CIE-LABlab(53.89, -50.67, 51.86)
CIE-LCHlch(53.89, 72.50, 134.33°)
OKLaboklab(58.59% -0.1388 0.1144)
OKLCHoklch(58.59% 0.18 140.5)
XYZxyz(11.9629, 21.8688, 4.4011)
Luminance0.2187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309417 #7B1794
analogous
#6E9417 #309417 #17943C
triadic
#309417 #173094 #941730
tetradic
#309417 #176E94 #7B1794 #943C17
square
#309417 #176E94 #7B1794 #943C17
split-complementary
#309417 #3C1794 #94176E
monochromatic
#0E2A07 #1F5F0F #309417 #41C91F #63E244

Accessibility & contrast

On white

3.91
#309417 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#309417 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309417
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309417#FFFFFF#000000##000000
##3094171.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#1E8F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #309417;
/* rgb */ color: rgb(48, 148, 23);
/* oklch */ color: oklch(58.6% 0.180 140.5);
Tailwind
colors: {
  custom: {
    50: '#77b461',
    500: '#309417',
    950: '#000000',
  },
}
SCSS
$custom: #309417;
$custom-light: #77b461;
$custom-dark: #000000;
JSON
{
  "hex": "#309417",
  "rgb": {
    "r": 48,
    "g": 148,
    "b": 23
  },
  "hsl": {
    "h": 108,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58587,
    "c": 0.17993,
    "h": 140.5
  },
  "luminance": 0.2187
}

Semantic roles & 50–950 ramp

primary
#309417
secondary
#A944C3
accent
#38F0CB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #309417

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

Preview Lab → · Contrast checker → · Palette generator →

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