#318617#318617

#318617 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.163 H 139.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#318617
RGBrgb(49, 134, 23)
HSLhsl(106, 71%, 31%)
HSVhsv(106, 83%, 53%)
CMYKcmyk(63.4%, 0%, 82.8%, 47.5%)
CIE-LABlab(49.21, -45.46, 47.56)
CIE-LCHlch(49.21, 65.79, 133.70°)
OKLaboklab(54.72% -0.1249 0.1054)
OKLCHoklch(54.72% 0.163 139.8)
XYZxyz(9.9459, 17.7641, 3.7151)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318617 #6C1786
analogous
#688617 #318617 #178634
triadic
#318617 #173186 #861731
tetradic
#318617 #176886 #6C1786 #863417
square
#318617 #176886 #6C1786 #863417
split-complementary
#318617 #341786 #861768
monochromatic
#0B1E05 #1E520E #318617 #44BA20 #60DD3A

Accessibility & contrast

On white

4.61
#318617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#318617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #318617
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318617#FFFFFF#000000##FFFFFF
##3186171.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#258172
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #318617;
/* rgb */ color: rgb(49, 134, 23);
/* oklch */ color: oklch(54.7% 0.163 139.8);
Tailwind
colors: {
  custom: {
    50: '#75aa5f',
    500: '#318617',
    950: '#000000',
  },
}
SCSS
$custom: #318617;
$custom-light: #75aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#318617",
  "rgb": {
    "r": 49,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 105.946,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54719,
    "c": 0.16345,
    "h": 139.8
  },
  "luminance": 0.17765
}

Semantic roles & 50–950 ramp

primary
#318617
secondary
#9D3FBA
accent
#3AEDC4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318617

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

Preview Lab → · Contrast checker → · Palette generator →

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