#317919#317919

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

Color values

HEX#317919
RGBrgb(49, 121, 25)
HSLhsl(105, 66%, 29%)
HSVhsv(105, 79%, 47%)
CMYKcmyk(59.5%, 0%, 79.3%, 52.5%)
CIE-LABlab(44.80, -40.42, 42.71)
CIE-LCHlch(44.80, 58.80, 133.42°)
OKLaboklab(51.08% -0.1112 0.0956)
OKLCHoklch(51.08% 0.147 139.3)
XYZxyz(8.2791, 14.3972, 3.2622)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317919 #611979
analogous
#617919 #317919 #197931
triadic
#317919 #193179 #791931
tetradic
#317919 #196179 #611979 #793119
square
#317919 #196179 #611979 #793119
split-complementary
#317919 #311979 #791961
monochromatic
#0A1905 #1C460F #317919 #46AC23 #5ED637

Accessibility & contrast

On white

5.41
#317919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#317919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317919
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317919#FFFFFF#000000##FFFFFF
##3179191.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#297567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #317919;
/* rgb */ color: rgb(49, 121, 25);
/* oklch */ color: oklch(51.1% 0.147 139.3);
Tailwind
colors: {
  custom: {
    50: '#72a05e',
    500: '#317919',
    950: '#000000',
  },
}
SCSS
$custom: #317919;
$custom-light: #72a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#317919",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 105,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51075,
    "c": 0.14666,
    "h": 139.3
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#317919
secondary
#9240AE
accent
#3FE9BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #317919

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

Preview Lab → · Contrast checker → · Palette generator →

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