#318315#318315

#318315 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.161 H 139.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#318315
RGBrgb(49, 131, 21)
HSLhsl(105, 72%, 30%)
HSVhsv(105, 84%, 51%)
CMYKcmyk(62.6%, 0%, 84%, 48.6%)
CIE-LABlab(48.18, -44.46, 47.21)
CIE-LCHlch(48.18, 64.85, 133.29°)
OKLaboklab(53.87% -0.1223 0.1044)
OKLCHoklch(53.87% 0.161 139.5)
XYZxyz(9.5179, 16.9388, 3.4773)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318315 #671583
analogous
#688315 #318315 #158330
triadic
#318315 #153183 #831531
tetradic
#318315 #156883 #671583 #833015
square
#318315 #156883 #671583 #833015
split-complementary
#318315 #301583 #831568
monochromatic
#0A1A04 #1D4E0D #318315 #45B81D #5FDE34

Accessibility & contrast

On white

4.79
#318315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #318315
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318315#FFFFFF#000000##FFFFFF
##3183151.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #318315;
/* rgb */ color: rgb(49, 131, 21);
/* oklch */ color: oklch(53.9% 0.161 139.5);
Tailwind
colors: {
  custom: {
    50: '#74a85d',
    500: '#318315',
    950: '#000000',
  },
}
SCSS
$custom: #318315;
$custom-light: #74a85d;
$custom-dark: #000000;
JSON
{
  "hex": "#318315",
  "rgb": {
    "r": 49,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 104.727,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53867,
    "c": 0.16082,
    "h": 139.5
  },
  "luminance": 0.1694
}

Semantic roles & 50–950 ramp

primary
#318315
secondary
#983CB8
accent
#39EFC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091005
muted
#7B7F79

Preview Lab

Preview with #318315

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

Preview Lab → · Contrast checker → · Palette generator →

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