#318C2B#318C2B

#318C2B is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.159 H 142.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#318C2B
RGBrgb(49, 140, 43)
HSLhsl(116, 53%, 36%)
HSVhsv(116, 69%, 55%)
CMYKcmyk(65%, 0%, 69.3%, 45.1%)
CIE-LABlab(51.36, -46.10, 42.30)
CIE-LCHlch(51.36, 62.56, 137.47°)
OKLaboklab(56.54% -0.1255 0.0972)
OKLCHoklch(56.54% 0.159 142.2)
XYZxyz(11.0801, 19.5825, 5.4809)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318C2B #862B8C
analogous
#618C2B #318C2B #2B8C55
triadic
#318C2B #2B318C #8C2B31
tetradic
#318C2B #2B618C #862B8C #8C552B
square
#318C2B #2B618C #862B8C #8C552B
split-complementary
#318C2B #552B8C #8C2B61
monochromatic
#102E0E #215D1D #318C2B #41BB39 #69CF62

Accessibility & contrast

On white

4.27
#318C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#318C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318C2B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318C2B#FFFFFF#000000##000000
##318C2B1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#208878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #318c2b;
/* rgb */ color: rgb(49, 140, 43);
/* oklch */ color: oklch(56.5% 0.159 142.2);
Tailwind
colors: {
  custom: {
    50: '#75ae69',
    500: '#318c2b',
    950: '#000000',
  },
}
SCSS
$custom: #318c2b;
$custom-light: #75ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#318c2b",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 116.289,
    "s": 53.005,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.15876,
    "h": 142.2
  },
  "luminance": 0.19584
}

Semantic roles & 50–950 ramp

primary
#318C2B
secondary
#B05EB5
accent
#4BDCD3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #318C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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