#318520#318520

#318520 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.157 H 140.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#318520
RGBrgb(49, 133, 32)
HSLhsl(110, 61%, 32%)
HSVhsv(110, 76%, 52%)
CMYKcmyk(63.2%, 0%, 75.9%, 47.8%)
CIE-LABlab(48.92, -44.47, 44.21)
CIE-LCHlch(48.92, 62.71, 135.17°)
OKLaboklab(54.5% -0.1218 0.0998)
OKLCHoklch(54.5% 0.157 140.7)
XYZxyz(9.9144, 17.5314, 4.2276)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318520 #742085
analogous
#648520 #318520 #208542
triadic
#318520 #203185 #852031
tetradic
#318520 #206485 #742085 #854220
square
#318520 #206485 #742085 #854220
split-complementary
#318520 #422085 #852064
monochromatic
#0D2208 #1F5414 #318520 #43B62C #63D44C

Accessibility & contrast

On white

4.66
#318520 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#318520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #318520
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318520#FFFFFF#000000##FFFFFF
##3185201.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89780C
Deuteranopia (green-blind)
#7E722B
Tritanopia (blue-blind)
#248171
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #318520;
/* rgb */ color: rgb(49, 133, 32);
/* oklch */ color: oklch(54.5% 0.157 140.7);
Tailwind
colors: {
  custom: {
    50: '#74a963',
    500: '#318520',
    950: '#000000',
  },
}
SCSS
$custom: #318520;
$custom-light: #74a963;
$custom-dark: #000000;
JSON
{
  "hex": "#318520",
  "rgb": {
    "r": 49,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 109.901,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54499,
    "c": 0.1574,
    "h": 140.7
  },
  "luminance": 0.17532
}

Semantic roles & 50–950 ramp

primary
#318520
secondary
#A44AB7
accent
#43E4C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #318520

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

Preview Lab → · Contrast checker → · Palette generator →

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