#318E2F#318E2F

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

Color values

HEX#318E2F
RGBrgb(49, 142, 47)
HSLhsl(119, 50%, 37%)
HSVhsv(119, 67%, 56%)
CMYKcmyk(65.5%, 0%, 66.9%, 44.3%)
CIE-LABlab(52.07, -46.43, 41.31)
CIE-LCHlch(52.07, 62.15, 138.34°)
OKLaboklab(57.14% -0.1262 0.0956)
OKLCHoklch(57.14% 0.158 142.9)
XYZxyz(11.4521, 20.2031, 5.9848)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318E2F #8C2F8E
analogous
#618E2F #318E2F #2F8E5D
triadic
#318E2F #2F318E #8E2F31
tetradic
#318E2F #2F618E #8C2F8E #8E5D2F
square
#318E2F #2F618E #8C2F8E #8E5D2F
split-complementary
#318E2F #5D2F8E #8E2F61
monochromatic
#113211 #216020 #318E2F #41BC3E #6CCE6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##318E2F#FFFFFF#000000##000000
##318E2F1.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)
#918123
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#1E8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #318e2f;
/* rgb */ color: rgb(49, 142, 47);
/* oklch */ color: oklch(57.1% 0.158 142.9);
Tailwind
colors: {
  custom: {
    50: '#75b06c',
    500: '#318e2f',
    950: '#000000',
  },
}
SCSS
$custom: #318e2f;
$custom-light: #75b06c;
$custom-dark: #000000;
JSON
{
  "hex": "#318e2f",
  "rgb": {
    "r": 49,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 118.737,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57137,
    "c": 0.15833,
    "h": 142.9
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#318E2F
secondary
#B364B5
accent
#4EDAD7
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #318E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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