#317819#317819

#317819 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.145 H 139.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#317819
RGBrgb(49, 120, 25)
HSLhsl(105, 66%, 28%)
HSVhsv(105, 79%, 47%)
CMYKcmyk(59.2%, 0%, 79.2%, 52.9%)
CIE-LABlab(44.45, -40.02, 42.37)
CIE-LCHlch(44.45, 58.29, 133.37°)
OKLaboklab(50.79% -0.1102 0.0949)
OKLCHoklch(50.79% 0.145 139.3)
XYZxyz(8.1582, 14.1554, 3.2219)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317819 #601978
analogous
#607819 #317819 #197830
triadic
#317819 #193178 #781931
tetradic
#317819 #196078 #601978 #783019
square
#317819 #196078 #601978 #783019
split-complementary
#317819 #301978 #781960
monochromatic
#0A1905 #1C450E #317819 #46AB24 #5ED536

Accessibility & contrast

On white

5.48
#317819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#317819 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317819
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317819#FFFFFF#000000##FFFFFF
##3178191.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D04
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#297466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #317819;
/* rgb */ color: rgb(49, 120, 25);
/* oklch */ color: oklch(50.8% 0.145 139.3);
Tailwind
colors: {
  custom: {
    50: '#72a05d',
    500: '#317819',
    950: '#000000',
  },
}
SCSS
$custom: #317819;
$custom-light: #72a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#317819",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 104.842,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50793,
    "c": 0.14541,
    "h": 139.3
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#317819
secondary
#9140AD
accent
#3FE8BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #317819

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

Preview Lab → · Contrast checker → · Palette generator →

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