#318E2D#318E2D

#318E2D is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.160 H 142.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#318E2D
RGBrgb(49, 142, 45)
HSLhsl(118, 52%, 37%)
HSVhsv(118, 68%, 56%)
CMYKcmyk(65.5%, 0%, 68.3%, 44.3%)
CIE-LABlab(52.05, -46.64, 42.17)
CIE-LCHlch(52.05, 62.88, 137.88°)
OKLaboklab(57.12% -0.1269 0.0972)
OKLCHoklch(57.12% 0.16 142.6)
XYZxyz(11.4126, 20.1873, 5.7772)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318E2D #8A2D8E
analogous
#628E2D #318E2D #2D8E5A
triadic
#318E2D #2D318E #8E2D31
tetradic
#318E2D #2D628E #8A2D8E #8E5A2D
square
#318E2D #2D628E #8A2D8E #8E5A2D
split-complementary
#318E2D #5A2D8E #8E2D62
monochromatic
#113110 #21601E #318E2D #41BC3C #6BCF67

Accessibility & contrast

On white

4.17
#318E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#318E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318E2D
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318E2D#FFFFFF#000000##000000
##318E2D1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#1E8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #318e2d;
/* rgb */ color: rgb(49, 142, 45);
/* oklch */ color: oklch(57.1% 0.160 142.6);
Tailwind
colors: {
  custom: {
    50: '#75b06b',
    500: '#318e2d',
    950: '#000000',
  },
}
SCSS
$custom: #318e2d;
$custom-light: #75b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#318e2d",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 117.526,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57116,
    "c": 0.15982,
    "h": 142.6
  },
  "luminance": 0.20188
}

Semantic roles & 50–950 ramp

primary
#318E2D
secondary
#B261B5
accent
#4CDBD5
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A

Preview Lab

Preview with #318E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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