#318517#318517

#318517 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.162 H 139.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#318517
RGBrgb(49, 133, 23)
HSLhsl(106, 71%, 31%)
HSVhsv(106, 83%, 52%)
CMYKcmyk(63.2%, 0%, 82.7%, 47.8%)
CIE-LABlab(48.87, -45.09, 47.24)
CIE-LCHlch(48.87, 65.31, 133.66°)
OKLaboklab(54.44% -0.1239 0.1048)
OKLCHoklch(54.44% 0.162 139.8)
XYZxyz(9.8084, 17.4890, 3.6693)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318517 #6B1785
analogous
#688517 #318517 #178534
triadic
#318517 #173185 #851731
tetradic
#318517 #176885 #6B1785 #853417
square
#318517 #176885 #6B1785 #853417
split-complementary
#318517 #341785 #851768
monochromatic
#0B1D05 #1E510E #318517 #44B920 #60DD3A

Accessibility & contrast

On white

4.67
#318517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#318517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #318517
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318517#FFFFFF#000000##FFFFFF
##3185171.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#268071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #318517;
/* rgb */ color: rgb(49, 133, 23);
/* oklch */ color: oklch(54.4% 0.162 139.8);
Tailwind
colors: {
  custom: {
    50: '#75a95f',
    500: '#318517',
    950: '#000000',
  },
}
SCSS
$custom: #318517;
$custom-light: #75a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#318517",
  "rgb": {
    "r": 49,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 105.818,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54439,
    "c": 0.16227,
    "h": 139.8
  },
  "luminance": 0.1749
}

Semantic roles & 50–950 ramp

primary
#318517
secondary
#9C3FB9
accent
#3BEDC3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318517

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

Preview Lab → · Contrast checker → · Palette generator →

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