#316E15#316E15

#316E15 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.135 H 138.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#316E15
RGBrgb(49, 110, 21)
HSLhsl(101, 68%, 26%)
HSVhsv(101, 81%, 43%)
CMYKcmyk(55.5%, 0%, 80.9%, 56.9%)
CIE-LABlab(40.99, -36.29, 40.44)
CIE-LCHlch(40.99, 54.33, 131.90°)
OKLaboklab(47.93% -0.1004 0.0902)
OKLCHoklch(47.93% 0.135 138)
XYZxyz(6.9777, 11.8584, 2.6305)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316E15 #52156E
analogous
#5D6E15 #316E15 #156E26
triadic
#316E15 #15316E #6E1531
tetradic
#316E15 #155D6E #52156E #6E2615
square
#316E15 #155D6E #52156E #6E2615
split-complementary
#316E15 #26156E #6E155D
monochromatic
#0B1A05 #1A3B0B #316E15 #48A11F #5FD529

Accessibility & contrast

On white

6.23
#316E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#316E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316E15
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316E15#FFFFFF#000000##FFFFFF
##316E151.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#2C6A5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #316e15;
/* rgb */ color: rgb(49, 110, 21);
/* oklch */ color: oklch(47.9% 0.135 138.0);
Tailwind
colors: {
  custom: {
    50: '#70985a',
    500: '#316e15',
    950: '#000000',
  },
}
SCSS
$custom: #316e15;
$custom-light: #70985a;
$custom-dark: #000000;
JSON
{
  "hex": "#316e15",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 101.124,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47927,
    "c": 0.13497,
    "h": 138
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#316E15
secondary
#833AA4
accent
#3DEBB4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #316E15

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

Preview Lab → · Contrast checker → · Palette generator →

#316E15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva