#318620#318620

#318620 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.159 H 140.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#318620
RGBrgb(49, 134, 32)
HSLhsl(110, 61%, 33%)
HSVhsv(110, 76%, 53%)
CMYKcmyk(63.4%, 0%, 76.1%, 47.5%)
CIE-LABlab(49.26, -44.85, 44.55)
CIE-LCHlch(49.26, 63.21, 135.19°)
OKLaboklab(54.78% -0.1228 0.1005)
OKLCHoklch(54.78% 0.159 140.7)
XYZxyz(10.0519, 17.8065, 4.2735)
Luminance0.1781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318620 #752086
analogous
#648620 #318620 #208642
triadic
#318620 #203186 #862031
tetradic
#318620 #206486 #752086 #864220
square
#318620 #206486 #752086 #864220
split-complementary
#318620 #422086 #862064
monochromatic
#0D2308 #1F5514 #318620 #43B72C #63D44C

Accessibility & contrast

On white

4.60
#318620 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#318620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #318620
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318620#FFFFFF#000000##FFFFFF
##3186201.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A790C
Deuteranopia (green-blind)
#7F722B
Tritanopia (blue-blind)
#248272
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #318620;
/* rgb */ color: rgb(49, 134, 32);
/* oklch */ color: oklch(54.8% 0.159 140.7);
Tailwind
colors: {
  custom: {
    50: '#74aa63',
    500: '#318620',
    950: '#000000',
  },
}
SCSS
$custom: #318620;
$custom-light: #74aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#318620",
  "rgb": {
    "r": 49,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 110,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54779,
    "c": 0.15863,
    "h": 140.7
  },
  "luminance": 0.17807
}

Semantic roles & 50–950 ramp

primary
#318620
secondary
#A54BB7
accent
#43E5CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318620

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

Preview Lab → · Contrast checker → · Palette generator →

#318620 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva