#317818#317818

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

Color values

HEX#317818
RGBrgb(49, 120, 24)
HSLhsl(104, 67%, 28%)
HSVhsv(104, 80%, 47%)
CMYKcmyk(59.2%, 0%, 80%, 52.9%)
CIE-LABlab(44.45, -40.09, 42.72)
CIE-LCHlch(44.45, 58.59, 133.18°)
OKLaboklab(50.79% -0.1104 0.0954)
OKLCHoklch(50.79% 0.146 139.2)
XYZxyz(8.1476, 14.1512, 3.1661)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317818 #5F1878
analogous
#617818 #317818 #18782F
triadic
#317818 #183178 #781831
tetradic
#317818 #186178 #5F1878 #782F18
square
#317818 #186178 #5F1878 #782F18
split-complementary
#317818 #2F1878 #781861
monochromatic
#0A1A05 #1C450E #317818 #46AB22 #5ED634

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317818#FFFFFF#000000##FFFFFF
##3178181.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)
#7C6D01
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#297466
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #317818;
/* rgb */ color: rgb(49, 120, 24);
/* oklch */ color: oklch(50.8% 0.146 139.2);
Tailwind
colors: {
  custom: {
    50: '#72a05d',
    500: '#317818',
    950: '#000000',
  },
}
SCSS
$custom: #317818;
$custom-light: #72a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#317818",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 104.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.14596,
    "h": 139.2
  },
  "luminance": 0.14152
}

Semantic roles & 50–950 ramp

primary
#317818
secondary
#903FAD
accent
#3EEABD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #317818

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

Preview Lab → · Contrast checker → · Palette generator →

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