#317019#317019

#317019 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.135 H 138.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#317019
RGBrgb(49, 112, 25)
HSLhsl(103, 64%, 27%)
HSVhsv(103, 78%, 44%)
CMYKcmyk(56.3%, 0%, 77.7%, 56.1%)
CIE-LABlab(41.71, -36.82, 39.67)
CIE-LCHlch(41.71, 54.12, 132.87°)
OKLaboklab(48.53% -0.1016 0.0892)
OKLCHoklch(48.53% 0.135 138.7)
XYZxyz(7.2360, 12.3109, 2.9145)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317019 #581970
analogous
#5D7019 #317019 #19702C
triadic
#317019 #193170 #701931
tetradic
#317019 #195D70 #581970 #702C19
square
#317019 #195D70 #581970 #702C19
split-complementary
#317019 #2C1970 #70195D
monochromatic
#0B1906 #1B3E0E #317019 #47A224 #5ED132

Accessibility & contrast

On white

6.07
#317019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#317019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317019
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317019#FFFFFF#000000##FFFFFF
##3170191.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746608
Deuteranopia (green-blind)
#6C6022
Tritanopia (blue-blind)
#2B6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #317019;
/* rgb */ color: rgb(49, 112, 25);
/* oklch */ color: oklch(48.5% 0.135 138.7);
Tailwind
colors: {
  custom: {
    50: '#719a5c',
    500: '#317019',
    950: '#000000',
  },
}
SCSS
$custom: #317019;
$custom-light: #719a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#317019",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 103.448,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48525,
    "c": 0.13519,
    "h": 138.7
  },
  "luminance": 0.12311
}

Semantic roles & 50–950 ramp

primary
#317019
secondary
#8940A5
accent
#41E7B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317019

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

Preview Lab → · Contrast checker → · Palette generator →

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