#318F2E#318F2E

#318F2E is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.160 H 142.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#318F2E
RGBrgb(49, 143, 46)
HSLhsl(118, 51%, 37%)
HSVhsv(118, 68%, 56%)
CMYKcmyk(65.7%, 0%, 67.8%, 43.9%)
CIE-LABlab(52.39, -46.91, 42.11)
CIE-LCHlch(52.39, 63.03, 138.09°)
OKLaboklab(57.4% -0.1275 0.0972)
OKLCHoklch(57.4% 0.16 142.7)
XYZxyz(11.5816, 20.4940, 5.9296)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318F2E #8C2E8F
analogous
#628F2E #318F2E #2E8F5B
triadic
#318F2E #2E318F #8F2E31
tetradic
#318F2E #2E628F #8C2E8F #8F5B2E
square
#318F2E #2E628F #8C2E8F #8F5B2E
split-complementary
#318F2E #5B2E8F #8F2E62
monochromatic
#113210 #21611F #318F2E #41BD3D #6CCF69

Accessibility & contrast

On white

4.12
#318F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#318F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318F2E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318F2E#FFFFFF#000000##000000
##318F2E1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928221
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#1D8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #318f2e;
/* rgb */ color: rgb(49, 143, 46);
/* oklch */ color: oklch(57.4% 0.160 142.7);
Tailwind
colors: {
  custom: {
    50: '#76b16b',
    500: '#318f2e',
    950: '#000000',
  },
}
SCSS
$custom: #318f2e;
$custom-light: #76b16b;
$custom-dark: #000000;
JSON
{
  "hex": "#318f2e",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 118.144,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57403,
    "c": 0.16035,
    "h": 142.7
  },
  "luminance": 0.20495
}

Semantic roles & 50–950 ramp

primary
#318F2E
secondary
#B363B6
accent
#4DDBD6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #318F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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