#318417#318417

#318417 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.161 H 139.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#318417
RGBrgb(49, 132, 23)
HSLhsl(106, 70%, 30%)
HSVhsv(106, 83%, 52%)
CMYKcmyk(62.9%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.53, -44.72, 46.93)
CIE-LCHlch(48.53, 64.82, 133.62°)
OKLaboklab(54.16% -0.1229 0.1041)
OKLCHoklch(54.16% 0.161 139.7)
XYZxyz(9.6721, 17.2165, 3.6239)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318417 #6A1784
analogous
#678417 #318417 #178433
triadic
#318417 #173184 #841731
tetradic
#318417 #176784 #6A1784 #843317
square
#318417 #176784 #6A1784 #843317
split-complementary
#318417 #331784 #841767
monochromatic
#0A1C05 #1E500E #318417 #44B820 #60DC39

Accessibility & contrast

On white

4.73
#318417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#318417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318417
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318417#FFFFFF#000000##FFFFFF
##3184171.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#267F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #318417;
/* rgb */ color: rgb(49, 132, 23);
/* oklch */ color: oklch(54.2% 0.161 139.7);
Tailwind
colors: {
  custom: {
    50: '#74a95e',
    500: '#318417',
    950: '#000000',
  },
}
SCSS
$custom: #318417;
$custom-light: #74a95e;
$custom-dark: #000000;
JSON
{
  "hex": "#318417",
  "rgb": {
    "r": 49,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 105.688,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.16109,
    "h": 139.7
  },
  "luminance": 0.17217
}

Semantic roles & 50–950 ramp

primary
#318417
secondary
#9B3FB8
accent
#3BEDC3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318417

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

Preview Lab → · Contrast checker → · Palette generator →

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