#318317#318317

#318317 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.160 H 139.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#318317
RGBrgb(49, 131, 23)
HSLhsl(106, 70%, 30%)
HSVhsv(106, 82%, 51%)
CMYKcmyk(62.6%, 0%, 82.4%, 48.6%)
CIE-LABlab(48.19, -44.35, 46.61)
CIE-LCHlch(48.19, 64.34, 133.58°)
OKLaboklab(53.88% -0.1219 0.1034)
OKLCHoklch(53.88% 0.16 139.7)
XYZxyz(9.5372, 16.9465, 3.5789)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318317 #691783
analogous
#678317 #318317 #178333
triadic
#318317 #173183 #831731
tetradic
#318317 #176783 #691783 #833317
square
#318317 #176783 #691783 #833317
split-complementary
#318317 #331783 #831767
monochromatic
#0A1B05 #1E4F0E #318317 #44B720 #60DC38

Accessibility & contrast

On white

4.78
#318317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#318317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318317
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318317#FFFFFF#000000##FFFFFF
##3183171.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#267E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #318317;
/* rgb */ color: rgb(49, 131, 23);
/* oklch */ color: oklch(53.9% 0.160 139.7);
Tailwind
colors: {
  custom: {
    50: '#74a85e',
    500: '#318317',
    950: '#000000',
  },
}
SCSS
$custom: #318317;
$custom-light: #74a85e;
$custom-dark: #000000;
JSON
{
  "hex": "#318317",
  "rgb": {
    "r": 49,
    "g": 131,
    "b": 23
  },
  "hsl": {
    "h": 105.556,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53878,
    "c": 0.15989,
    "h": 139.7
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

primary
#318317
secondary
#9A3FB7
accent
#3BEDC2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318317

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

Preview Lab → · Contrast checker → · Palette generator →

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