#317814#317814

#317814 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.8% C 0.148 H 138.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#317814
RGBrgb(49, 120, 20)
HSLhsl(103, 71%, 27%)
HSVhsv(103, 83%, 47%)
CMYKcmyk(59.2%, 0%, 83.3%, 52.9%)
CIE-LABlab(44.43, -40.35, 44.03)
CIE-LCHlch(44.43, 59.72, 132.50°)
OKLaboklab(50.76% -0.1113 0.0976)
OKLCHoklch(50.76% 0.148 138.8)
XYZxyz(8.1090, 14.1357, 2.9628)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317814 #5B1478
analogous
#637814 #317814 #147829
triadic
#317814 #143178 #781431
tetradic
#317814 #146378 #5B1478 #782914
square
#317814 #146378 #5B1478 #782914
split-complementary
#317814 #291478 #781463
monochromatic
#0B1A04 #1C440B #317814 #46AC1D #5EDC2B

Accessibility & contrast

On white

5.49
#317814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317814
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317814#FFFFFF#000000##FFFFFF
##3178141.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#2A7466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #317814;
/* rgb */ color: rgb(49, 120, 20);
/* oklch */ color: oklch(50.8% 0.148 138.8);
Tailwind
colors: {
  custom: {
    50: '#72a05b',
    500: '#317814',
    950: '#000000',
  },
}
SCSS
$custom: #317814;
$custom-light: #72a05b;
$custom-dark: #000000;
JSON
{
  "hex": "#317814",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 102.6,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50761,
    "c": 0.14805,
    "h": 138.8
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#317814
secondary
#8C3AAE
accent
#3AEEBA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #317814

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

Preview Lab → · Contrast checker → · Palette generator →

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