#318545#318545

#318545 is a mid, vivid green. Relative luminance 0.179; OKLCH L 55.0% C 0.127 H 148.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#318545
RGBrgb(49, 133, 69)
HSLhsl(134, 46%, 36%)
HSVhsv(134, 63%, 52%)
CMYKcmyk(63.2%, 0%, 48.1%, 47.8%)
CIE-LABlab(49.32, -39.93, 27.11)
CIE-LCHlch(49.32, 48.26, 145.82°)
OKLaboklab(54.96% -0.1079 0.0662)
OKLCHoklch(54.96% 0.127 148.4)
XYZxyz(10.7276, 17.8567, 8.5104)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318545 #853171
analogous
#478531 #318545 #31856F
triadic
#318545 #453185 #854531
tetradic
#318545 #314785 #853171 #856F31
square
#318545 #314785 #853171 #856F31
split-complementary
#318545 #6F3185 #853147
monochromatic
#102C17 #21582E #318545 #41B25C #69C87F

Accessibility & contrast

On white

4.59
#318545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#318545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #318545
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318545#FFFFFF#000000##FFFFFF
##3185451.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A40
Deuteranopia (green-blind)
#7B7249
Tritanopia (blue-blind)
#198276
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #318545;
/* rgb */ color: rgb(49, 133, 69);
/* oklch */ color: oklch(55.0% 0.127 148.4);
Tailwind
colors: {
  custom: {
    50: '#73a97a',
    500: '#318545',
    950: '#000000',
  },
}
SCSS
$custom: #318545;
$custom-light: #73a97a;
$custom-dark: #000000;
JSON
{
  "hex": "#318545",
  "rgb": {
    "r": 49,
    "g": 133,
    "b": 69
  },
  "hsl": {
    "h": 134.286,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54957,
    "c": 0.12658,
    "h": 148.4
  },
  "luminance": 0.17858
}

Semantic roles & 50–950 ramp

primary
#318545
secondary
#AF639D
accent
#52B6D6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #318545

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

Preview Lab → · Contrast checker → · Palette generator →

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