#317D18#317D18

#317D18 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.152 H 139.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#317D18
RGBrgb(49, 125, 24)
HSLhsl(105, 68%, 29%)
HSVhsv(105, 81%, 49%)
CMYKcmyk(60.8%, 0%, 80.8%, 51%)
CIE-LABlab(46.16, -42.03, 44.36)
CIE-LCHlch(46.16, 61.11, 133.45°)
OKLaboklab(52.2% -0.1156 0.0989)
OKLCHoklch(52.2% 0.152 139.5)
XYZxyz(8.7647, 15.3854, 3.3718)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D18 #64187D
analogous
#647D18 #317D18 #187D32
triadic
#317D18 #18317D #7D1831
tetradic
#317D18 #18647D #64187D #7D3218
square
#317D18 #18647D #64187D #7D3218
split-complementary
#317D18 #32187D #7D1864
monochromatic
#0A1A05 #1D4A0E #317D18 #45B022 #5FD937

Accessibility & contrast

On white

5.15
#317D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#317D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D18
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D18#FFFFFF#000000##FFFFFF
##317D181.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#28796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317d18;
/* rgb */ color: rgb(49, 125, 24);
/* oklch */ color: oklch(52.2% 0.152 139.5);
Tailwind
colors: {
  custom: {
    50: '#73a35e',
    500: '#317d18',
    950: '#000000',
  },
}
SCSS
$custom: #317d18;
$custom-light: #73a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#317d18",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 105.149,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.15215,
    "h": 139.5
  },
  "luminance": 0.15386
}

Semantic roles & 50–950 ramp

primary
#317D18
secondary
#953FB2
accent
#3DEBC0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317D18

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

Preview Lab → · Contrast checker → · Palette generator →

#317D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva