#318310#318310

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

Color values

HEX#318310
RGBrgb(49, 131, 16)
HSLhsl(103, 78%, 29%)
HSVhsv(103, 88%, 51%)
CMYKcmyk(62.6%, 0%, 87.8%, 48.6%)
CIE-LABlab(48.16, -44.71, 48.54)
CIE-LCHlch(48.16, 66.00, 132.65°)
OKLaboklab(53.84% -0.1232 0.1065)
OKLCHoklch(53.84% 0.163 139.2)
XYZxyz(9.4760, 16.9221, 3.2570)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318310 #621083
analogous
#6B8310 #318310 #108329
triadic
#318310 #103183 #831031
tetradic
#318310 #106B83 #621083 #832910
square
#318310 #106B83 #621083 #832910
split-complementary
#318310 #291083 #83106B
monochromatic
#0A1B03 #1D4C09 #318310 #45BA17 #5FE529

Accessibility & contrast

On white

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

On black

4.38
#318310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##318310#FFFFFF#000000##FFFFFF
##3183101.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #318310;
/* rgb */ color: rgb(49, 131, 16);
/* oklch */ color: oklch(53.8% 0.163 139.2);
Tailwind
colors: {
  custom: {
    50: '#75a85c',
    500: '#318310',
    950: '#000000',
  },
}
SCSS
$custom: #318310;
$custom-light: #75a85c;
$custom-dark: #000000;
JSON
{
  "hex": "#318310",
  "rgb": {
    "r": 49,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 102.783,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53843,
    "c": 0.16286,
    "h": 139.2
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#318310
secondary
#9336B9
accent
#33F5BD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#091004
muted
#7B7F79

Preview Lab

Preview with #318310

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

Preview Lab → · Contrast checker → · Palette generator →

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