#318017#318017

#318017 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.156 H 139.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#318017
RGBrgb(49, 128, 23)
HSLhsl(105, 70%, 30%)
HSVhsv(105, 82%, 50%)
CMYKcmyk(61.7%, 0%, 82%, 49.8%)
CIE-LABlab(47.17, -43.23, 45.65)
CIE-LCHlch(47.17, 62.87, 133.44°)
OKLaboklab(53.04% -0.1189 0.1014)
OKLCHoklch(53.04% 0.156 139.5)
XYZxyz(9.1401, 16.1523, 3.4465)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318017 #661780
analogous
#668017 #318017 #178032
triadic
#318017 #173180 #801731
tetradic
#318017 #176680 #661780 #803217
square
#318017 #176680 #661780 #803217
split-complementary
#318017 #321780 #801766
monochromatic
#0A1A05 #1D4C0E #318017 #45B420 #5FDB36

Accessibility & contrast

On white

4.96
#318017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#318017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318017
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318017#FFFFFF#000000##FFFFFF
##3180171.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#277B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #318017;
/* rgb */ color: rgb(49, 128, 23);
/* oklch */ color: oklch(53.0% 0.156 139.5);
Tailwind
colors: {
  custom: {
    50: '#74a65e',
    500: '#318017',
    950: '#000000',
  },
}
SCSS
$custom: #318017;
$custom-light: #74a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#318017",
  "rgb": {
    "r": 49,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 105.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53036,
    "c": 0.1563,
    "h": 139.5
  },
  "luminance": 0.16153
}

Semantic roles & 50–950 ramp

primary
#318017
secondary
#973EB4
accent
#3BECC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #318017

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

Preview Lab → · Contrast checker → · Palette generator →

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