#318D2F#318D2F

#318D2F is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.157 H 142.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#318D2F
RGBrgb(49, 141, 47)
HSLhsl(119, 50%, 37%)
HSVhsv(119, 67%, 55%)
CMYKcmyk(65.2%, 0%, 66.7%, 44.7%)
CIE-LABlab(51.73, -46.06, 40.95)
CIE-LCHlch(51.73, 61.63, 138.37°)
OKLaboklab(56.86% -0.1252 0.0948)
OKLCHoklch(56.86% 0.157 142.9)
XYZxyz(11.3039, 19.9068, 5.9355)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318D2F #8B2F8D
analogous
#608D2F #318D2F #2F8D5C
triadic
#318D2F #2F318D #8D2F31
tetradic
#318D2F #2F608D #8B2F8D #8D5C2F
square
#318D2F #2F608D #8B2F8D #8D5C2F
split-complementary
#318D2F #5C2F8D #8D2F60
monochromatic
#113110 #215F20 #318D2F #41BB3E #6BCD69

Accessibility & contrast

On white

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

On black

4.98
#318D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318D2F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318D2F#FFFFFF#000000##000000
##318D2F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908023
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#1E897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #318d2f;
/* rgb */ color: rgb(49, 141, 47);
/* oklch */ color: oklch(56.9% 0.157 142.9);
Tailwind
colors: {
  custom: {
    50: '#75af6c',
    500: '#318d2f',
    950: '#000000',
  },
}
SCSS
$custom: #318d2f;
$custom-light: #75af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#318d2f",
  "rgb": {
    "r": 49,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 118.723,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5686,
    "c": 0.15706,
    "h": 142.9
  },
  "luminance": 0.19908
}

Semantic roles & 50–950 ramp

primary
#318D2F
secondary
#B264B4
accent
#4EDAD7
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #318D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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