#318519#318519

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

Color values

HEX#318519
RGBrgb(49, 133, 25)
HSLhsl(107, 68%, 31%)
HSVhsv(107, 81%, 52%)
CMYKcmyk(63.2%, 0%, 81.2%, 47.8%)
CIE-LABlab(48.88, -44.97, 46.63)
CIE-LCHlch(48.88, 64.78, 133.96°)
OKLaboklab(54.45% -0.1235 0.1038)
OKLCHoklch(54.45% 0.161 140)
XYZxyz(9.8292, 17.4973, 3.7788)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318519 #6D1985
analogous
#678519 #318519 #198537
triadic
#318519 #193185 #851931
tetradic
#318519 #196785 #6D1985 #853719
square
#318519 #196785 #6D1985 #853719
split-complementary
#318519 #371985 #851967
monochromatic
#0B1E06 #1E510F #318519 #44B923 #61DB3E

Accessibility & contrast

On white

4.67
#318519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#318519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #318519
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318519#FFFFFF#000000##FFFFFF
##3185191.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#258071
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #318519;
/* rgb */ color: rgb(49, 133, 25);
/* oklch */ color: oklch(54.5% 0.161 140.0);
Tailwind
colors: {
  custom: {
    50: '#75a95f',
    500: '#318519',
    950: '#000000',
  },
}
SCSS
$custom: #318519;
$custom-light: #75a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#318519",
  "rgb": {
    "r": 49,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 106.667,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54451,
    "c": 0.16129,
    "h": 140
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#318519
secondary
#9E41B9
accent
#3DEBC4
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318519

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

Preview Lab → · Contrast checker → · Palette generator →

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