#317418#317418

#317418 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.141 H 138.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#317418
RGBrgb(49, 116, 24)
HSLhsl(104, 66%, 27%)
HSVhsv(104, 79%, 45%)
CMYKcmyk(57.8%, 0%, 79.3%, 54.5%)
CIE-LABlab(43.08, -38.51, 41.39)
CIE-LCHlch(43.08, 56.53, 132.94°)
OKLaboklab(49.65% -0.1062 0.0927)
OKLCHoklch(49.65% 0.141 138.9)
XYZxyz(7.6766, 13.2091, 3.0091)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317418 #5B1874
analogous
#5F7418 #317418 #18742D
triadic
#317418 #183174 #741831
tetradic
#317418 #185F74 #5B1874 #742D18
square
#317418 #185F74 #5B1874 #742D18
split-complementary
#317418 #2D1874 #74185F
monochromatic
#0B1905 #1C410E #317418 #46A722 #5ED532

Accessibility & contrast

On white

5.77
#317418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#317418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317418
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317418#FFFFFF#000000##FFFFFF
##3174181.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786904
Deuteranopia (green-blind)
#6F6422
Tritanopia (blue-blind)
#2A7063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #317418;
/* rgb */ color: rgb(49, 116, 24);
/* oklch */ color: oklch(49.7% 0.141 138.9);
Tailwind
colors: {
  custom: {
    50: '#719d5c',
    500: '#317418',
    950: '#000000',
  },
}
SCSS
$custom: #317418;
$custom-light: #719d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#317418",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 103.696,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49653,
    "c": 0.14093,
    "h": 138.9
  },
  "luminance": 0.1321
}

Semantic roles & 50–950 ramp

primary
#317418
secondary
#8C3FA9
accent
#3FE9BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317418

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

Preview Lab → · Contrast checker → · Palette generator →

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