#307717#307717

#307717 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.146 H 139.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#307717
RGBrgb(48, 119, 23)
HSLhsl(104, 68%, 28%)
HSVhsv(104, 81%, 47%)
CMYKcmyk(59.7%, 0%, 80.7%, 53.3%)
CIE-LABlab(44.06, -40.05, 42.69)
CIE-LCHlch(44.06, 58.53, 133.18°)
OKLaboklab(50.46% -0.1103 0.0952)
OKLCHoklch(50.46% 0.146 139.2)
XYZxyz(7.9701, 13.8832, 3.0702)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#307717 #5E1777
analogous
#607717 #307717 #17772E
triadic
#307717 #173077 #771730
tetradic
#307717 #176077 #5E1777 #772E17
square
#307717 #176077 #5E1777 #772E17
split-complementary
#307717 #2E1777 #771760
monochromatic
#0A1A05 #1B440D #307717 #45AA21 #5CD731

Accessibility & contrast

On white

5.56
#307717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#307717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #307717
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##307717#FFFFFF#000000##FFFFFF
##3077171.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#287365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #307717;
/* rgb */ color: rgb(48, 119, 23);
/* oklch */ color: oklch(50.5% 0.146 139.2);
Tailwind
colors: {
  custom: {
    50: '#719f5c',
    500: '#307717',
    950: '#000000',
  },
}
SCSS
$custom: #307717;
$custom-light: #719f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#307717",
  "rgb": {
    "r": 48,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 104.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50457,
    "c": 0.14574,
    "h": 139.2
  },
  "luminance": 0.13884
}

Semantic roles & 50–950 ramp

primary
#307717
secondary
#8F3EAC
accent
#3DEABD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #307717

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

Preview Lab → · Contrast checker → · Palette generator →

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