#318C20#318C20

#318C20 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.166 H 140.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#318C20
RGBrgb(49, 140, 32)
HSLhsl(111, 63%, 34%)
HSVhsv(111, 77%, 55%)
CMYKcmyk(65%, 0%, 77.1%, 45.1%)
CIE-LABlab(51.28, -47.05, 46.56)
CIE-LCHlch(51.28, 66.19, 135.30°)
OKLaboklab(56.45% -0.1287 0.1047)
OKLCHoklch(56.45% 0.166 140.9)
XYZxyz(10.9049, 19.5124, 4.5578)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318C20 #7B208C
analogous
#678C20 #318C20 #208C45
triadic
#318C20 #20318C #8C2031
tetradic
#318C20 #20678C #7B208C #8C4520
square
#318C20 #20678C #7B208C #8C4520
split-complementary
#318C20 #45208C #8C2067
monochromatic
#0E2809 #205A15 #318C20 #42BE2B #65D750

Accessibility & contrast

On white

4.28
#318C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#318C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318C20
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318C20#FFFFFF#000000##000000
##318C201.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#228777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #318c20;
/* rgb */ color: rgb(49, 140, 32);
/* oklch */ color: oklch(56.5% 0.166 140.9);
Tailwind
colors: {
  custom: {
    50: '#76ae64',
    500: '#318c20',
    950: '#000000',
  },
}
SCSS
$custom: #318c20;
$custom-light: #76ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#318c20",
  "rgb": {
    "r": 49,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 110.556,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56451,
    "c": 0.16589,
    "h": 140.9
  },
  "luminance": 0.19513
}

Semantic roles & 50–950 ramp

primary
#318C20
secondary
#A94EBA
accent
#42E6CC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318C20

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

Preview Lab → · Contrast checker → · Palette generator →

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