#317C18#317C18

#317C18 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.151 H 139.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#317C18
RGBrgb(49, 124, 24)
HSLhsl(105, 68%, 29%)
HSVhsv(105, 81%, 49%)
CMYKcmyk(60.5%, 0%, 80.6%, 51.4%)
CIE-LABlab(45.82, -41.64, 44.04)
CIE-LCHlch(45.82, 60.61, 133.40°)
OKLaboklab(51.92% -0.1146 0.0982)
OKLCHoklch(51.92% 0.151 139.4)
XYZxyz(8.6388, 15.1335, 3.3298)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317C18 #63187C
analogous
#637C18 #317C18 #187C31
triadic
#317C18 #18317C #7C1831
tetradic
#317C18 #18637C #63187C #7C3118
square
#317C18 #18637C #63187C #7C3118
split-complementary
#317C18 #31187C #7C1863
monochromatic
#0A1A05 #1D490E #317C18 #45AF22 #5FD836

Accessibility & contrast

On white

5.22
#317C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#317C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317C18
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317C18#FFFFFF#000000##FFFFFF
##317C181.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#287869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317c18;
/* rgb */ color: rgb(49, 124, 24);
/* oklch */ color: oklch(51.9% 0.151 139.4);
Tailwind
colors: {
  custom: {
    50: '#73a35e',
    500: '#317c18',
    950: '#000000',
  },
}
SCSS
$custom: #317c18;
$custom-light: #73a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#317c18",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 105,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51915,
    "c": 0.15093,
    "h": 139.4
  },
  "luminance": 0.15134
}

Semantic roles & 50–950 ramp

primary
#317C18
secondary
#943FB1
accent
#3DEABF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317C18

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

Preview Lab → · Contrast checker → · Palette generator →

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