#318418#318418

#318418 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.161 H 139.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#318418
RGBrgb(49, 132, 24)
HSLhsl(106, 69%, 31%)
HSVhsv(106, 82%, 52%)
CMYKcmyk(62.9%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.54, -44.66, 46.62)
CIE-LCHlch(48.54, 64.56, 133.77°)
OKLaboklab(54.17% -0.1227 0.1036)
OKLCHoklch(54.17% 0.161 139.8)
XYZxyz(9.6823, 17.2205, 3.6776)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318418 #6B1884
analogous
#678418 #318418 #188435
triadic
#318418 #183184 #841831
tetradic
#318418 #186784 #6B1884 #843518
square
#318418 #186784 #6B1884 #843518
split-complementary
#318418 #351884 #841867
monochromatic
#0B1C05 #1E500F #318418 #44B821 #60DB3B

Accessibility & contrast

On white

4.73
#318418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#318418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318418
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318418#FFFFFF#000000##FFFFFF
##3184181.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#267F70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #318418;
/* rgb */ color: rgb(49, 132, 24);
/* oklch */ color: oklch(54.2% 0.161 139.8);
Tailwind
colors: {
  custom: {
    50: '#74a95f',
    500: '#318418',
    950: '#000000',
  },
}
SCSS
$custom: #318418;
$custom-light: #74a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#318418",
  "rgb": {
    "r": 49,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 106.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54165,
    "c": 0.16059,
    "h": 139.8
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

primary
#318418
secondary
#9C40B8
accent
#3CECC3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318418

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

Preview Lab → · Contrast checker → · Palette generator →

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