#318D2A#318D2A

#318D2A is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.161 H 142.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#318D2A
RGBrgb(49, 141, 42)
HSLhsl(116, 54%, 36%)
HSVhsv(116, 70%, 55%)
CMYKcmyk(65.2%, 0%, 70.2%, 44.7%)
CIE-LABlab(51.69, -46.57, 43.07)
CIE-LCHlch(51.69, 63.43, 137.24°)
OKLaboklab(56.81% -0.1268 0.0987)
OKLCHoklch(56.81% 0.161 142.1)
XYZxyz(11.2088, 19.8688, 5.4344)
Luminance0.1987 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318D2A #862A8D
analogous
#628D2A #318D2A #2A8D54
triadic
#318D2A #2A318D #8D2A31
tetradic
#318D2A #2A628D #862A8D #8D542A
square
#318D2A #2A628D #862A8D #8D542A
split-complementary
#318D2A #542A8D #8D2A62
monochromatic
#102F0E #215E1C #318D2A #41BC38 #69D061

Accessibility & contrast

On white

4.22
#318D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#318D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318D2A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318D2A#FFFFFF#000000##000000
##318D2A1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801C
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#1F8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #318d2a;
/* rgb */ color: rgb(49, 141, 42);
/* oklch */ color: oklch(56.8% 0.161 142.1);
Tailwind
colors: {
  custom: {
    50: '#75af69',
    500: '#318d2a',
    950: '#000000',
  },
}
SCSS
$custom: #318d2a;
$custom-light: #75af69;
$custom-dark: #000000;
JSON
{
  "hex": "#318d2a",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 115.758,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56811,
    "c": 0.16073,
    "h": 142.1
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

primary
#318D2A
secondary
#B05DB6
accent
#4ADDD3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #318D2A

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

Preview Lab → · Contrast checker → · Palette generator →

#318D2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva