#307917#307917

#307917 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.148 H 139.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#307917
RGBrgb(48, 121, 23)
HSLhsl(105, 68%, 28%)
HSVhsv(105, 81%, 47%)
CMYKcmyk(60.3%, 0%, 81%, 52.5%)
CIE-LABlab(44.75, -40.83, 43.34)
CIE-LCHlch(44.75, 59.55, 133.29°)
OKLaboklab(51.02% -0.1124 0.0966)
OKLCHoklch(51.02% 0.148 139.3)
XYZxyz(8.2106, 14.3643, 3.1503)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307917 #601779
analogous
#617917 #307917 #17792F
triadic
#307917 #173079 #791730
tetradic
#307917 #176179 #601779 #792F17
square
#307917 #176179 #601779 #792F17
split-complementary
#307917 #2F1779 #791761
monochromatic
#0A1A05 #1C460D #307917 #44AC21 #5DD832

Accessibility & contrast

On white

5.42
#307917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#307917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307917
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307917#FFFFFF#000000##FFFFFF
##3079171.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#287567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #307917;
/* rgb */ color: rgb(48, 121, 23);
/* oklch */ color: oklch(51.0% 0.148 139.3);
Tailwind
colors: {
  custom: {
    50: '#72a05d',
    500: '#307917',
    950: '#000000',
  },
}
SCSS
$custom: #307917;
$custom-light: #72a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#307917",
  "rgb": {
    "r": 48,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 104.694,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51024,
    "c": 0.14821,
    "h": 139.3
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#307917
secondary
#913EAE
accent
#3DEBBF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #307917

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

Preview Lab → · Contrast checker → · Palette generator →

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