#318727#318727

#318727 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.155 H 141.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#318727
RGBrgb(49, 135, 39)
HSLhsl(114, 55%, 34%)
HSVhsv(114, 71%, 53%)
CMYKcmyk(63.7%, 0%, 71.1%, 47.1%)
CIE-LABlab(49.65, -44.62, 42.17)
CIE-LCHlch(49.65, 61.39, 136.62°)
OKLaboklab(55.12% -0.1217 0.0964)
OKLCHoklch(55.12% 0.155 141.6)
XYZxyz(10.2963, 18.1264, 4.8752)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318727 #7D2787
analogous
#618727 #318727 #27874D
triadic
#318727 #273187 #872731
tetradic
#318727 #276187 #7D2787 #874D27
square
#318727 #276187 #7D2787 #874D27
split-complementary
#318727 #4D2787 #872761
monochromatic
#0F280C #205819 #318727 #42B635 #66CF59

Accessibility & contrast

On white

4.54
#318727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#318727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318727
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318727#FFFFFF#000000##000000
##3187271.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A19
Deuteranopia (green-blind)
#807330
Tritanopia (blue-blind)
#228374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #318727;
/* rgb */ color: rgb(49, 135, 39);
/* oklch */ color: oklch(55.1% 0.155 141.6);
Tailwind
colors: {
  custom: {
    50: '#74ab67',
    500: '#318727',
    950: '#000000',
  },
}
SCSS
$custom: #318727;
$custom-light: #74ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#318727",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 113.75,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55116,
    "c": 0.15531,
    "h": 141.6
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#318727
secondary
#AA56B4
accent
#49DFCF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318727

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

Preview Lab → · Contrast checker → · Palette generator →

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