#318116#318116

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

Color values

HEX#318116
RGBrgb(49, 129, 22)
HSLhsl(105, 71%, 30%)
HSVhsv(105, 83%, 51%)
CMYKcmyk(62%, 0%, 82.9%, 49.4%)
CIE-LABlab(47.51, -43.66, 46.28)
CIE-LCHlch(47.51, 63.63, 133.33°)
OKLaboklab(53.31% -0.1201 0.1026)
OKLCHoklch(53.31% 0.158 139.5)
XYZxyz(9.2613, 16.4106, 3.4384)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318116 #661681
analogous
#678116 #318116 #168131
triadic
#318116 #163181 #811631
tetradic
#318116 #166781 #661681 #813116
square
#318116 #166781 #661681 #813116
split-complementary
#318116 #311681 #811667
monochromatic
#0A1A04 #1D4D0D #318116 #45B51F #5FDD35

Accessibility & contrast

On white

4.90
#318116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #318116
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318116#FFFFFF#000000##FFFFFF
##3181161.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #318116;
/* rgb */ color: rgb(49, 129, 22);
/* oklch */ color: oklch(53.3% 0.158 139.5);
Tailwind
colors: {
  custom: {
    50: '#74a65e',
    500: '#318116',
    950: '#000000',
  },
}
SCSS
$custom: #318116;
$custom-light: #74a65e;
$custom-dark: #000000;
JSON
{
  "hex": "#318116",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 104.86,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53311,
    "c": 0.15798,
    "h": 139.5
  },
  "luminance": 0.16411
}

Semantic roles & 50–950 ramp

primary
#318116
secondary
#973DB6
accent
#3AEEC0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #318116

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

Preview Lab → · Contrast checker → · Palette generator →

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