#318112#318112

#318112 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.160 H 139.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#318112
RGBrgb(49, 129, 18)
HSLhsl(103, 76%, 29%)
HSVhsv(103, 86%, 51%)
CMYKcmyk(62%, 0%, 86%, 49.4%)
CIE-LABlab(47.49, -43.88, 47.42)
CIE-LCHlch(47.49, 64.61, 132.78°)
OKLaboklab(53.29% -0.1209 0.1044)
OKLCHoklch(53.29% 0.16 139.2)
XYZxyz(9.2257, 16.3963, 3.2508)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318112 #621281
analogous
#698112 #318112 #12812B
triadic
#318112 #123181 #811231
tetradic
#318112 #126981 #621281 #812B12
square
#318112 #126981 #621281 #812B12
split-complementary
#318112 #2B1281 #811269
monochromatic
#0A1B04 #1D4B0B #318112 #45B719 #5FE22C

Accessibility & contrast

On white

4.91
#318112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#318112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #318112
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318112#FFFFFF#000000##FFFFFF
##3181121.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7B6E21
Tritanopia (blue-blind)
#277C6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #318112;
/* rgb */ color: rgb(49, 129, 18);
/* oklch */ color: oklch(53.3% 0.160 139.2);
Tailwind
colors: {
  custom: {
    50: '#74a65c',
    500: '#318112',
    950: '#000000',
  },
}
SCSS
$custom: #318112;
$custom-light: #74a65c;
$custom-dark: #000000;
JSON
{
  "hex": "#318112",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 18
  },
  "hsl": {
    "h": 103.243,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5329,
    "c": 0.15975,
    "h": 139.2
  },
  "luminance": 0.16397
}

Semantic roles & 50–950 ramp

primary
#318112
secondary
#9338B7
accent
#36F2BD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #318112

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

Preview Lab → · Contrast checker → · Palette generator →

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