#318319#318319

#318319 is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.159 H 139.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#318319
RGBrgb(49, 131, 25)
HSLhsl(106, 68%, 31%)
HSVhsv(106, 81%, 51%)
CMYKcmyk(62.6%, 0%, 80.9%, 48.6%)
CIE-LABlab(48.20, -44.23, 45.98)
CIE-LCHlch(48.20, 63.80, 133.88°)
OKLaboklab(53.89% -0.1215 0.1024)
OKLCHoklch(53.89% 0.159 139.9)
XYZxyz(9.5580, 16.9549, 3.6884)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318319 #6B1983
analogous
#668319 #318319 #198336
triadic
#318319 #193183 #831931
tetradic
#318319 #196683 #6B1983 #833619
square
#318319 #196683 #6B1983 #833619
split-complementary
#318319 #361983 #831966
monochromatic
#0B1C05 #1E500F #318319 #44B623 #60DA3D

Accessibility & contrast

On white

4.78
#318319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#318319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318319
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318319#FFFFFF#000000##FFFFFF
##3183191.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#267E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #318319;
/* rgb */ color: rgb(49, 131, 25);
/* oklch */ color: oklch(53.9% 0.159 139.9);
Tailwind
colors: {
  custom: {
    50: '#74a85f',
    500: '#318319',
    950: '#000000',
  },
}
SCSS
$custom: #318319;
$custom-light: #74a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#318319",
  "rgb": {
    "r": 49,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 106.415,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5389,
    "c": 0.1589,
    "h": 139.9
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#318319
secondary
#9C41B7
accent
#3DEBC3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318319

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

Preview Lab → · Contrast checker → · Palette generator →

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