#318B2D#318B2D

#318B2D is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.156 H 142.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#318B2D
RGBrgb(49, 139, 45)
HSLhsl(117, 51%, 36%)
HSVhsv(117, 68%, 55%)
CMYKcmyk(64.7%, 0%, 67.6%, 45.5%)
CIE-LABlab(51.04, -45.53, 41.08)
CIE-LCHlch(51.04, 61.32, 137.94°)
OKLaboklab(56.29% -0.1239 0.0949)
OKLCHoklch(56.29% 0.156 142.5)
XYZxyz(10.9723, 19.3066, 5.6304)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318B2D #872D8B
analogous
#608B2D #318B2D #2D8B58
triadic
#318B2D #2D318B #8B2D31
tetradic
#318B2D #2D608B #872D8B #8B582D
square
#318B2D #2D608B #872D8B #8B582D
split-complementary
#318B2D #582D8B #8B2D60
monochromatic
#102F0F #215D1E #318B2D #41B93C #6ACD65

Accessibility & contrast

On white

4.32
#318B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#318B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318B2D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318B2D#FFFFFF#000000##000000
##318B2D1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E21
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#1F8778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #318b2d;
/* rgb */ color: rgb(49, 139, 45);
/* oklch */ color: oklch(56.3% 0.156 142.5);
Tailwind
colors: {
  custom: {
    50: '#75ae6a',
    500: '#318b2d',
    950: '#000000',
  },
}
SCSS
$custom: #318b2d;
$custom-light: #75ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#318b2d",
  "rgb": {
    "r": 49,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 117.447,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.15602,
    "h": 142.5
  },
  "luminance": 0.19308
}

Semantic roles & 50–950 ramp

primary
#318B2D
secondary
#B060B4
accent
#4DDBD5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #318B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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