#317B14#317B14

#317B14 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.152 H 139.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#317B14
RGBrgb(49, 123, 20)
HSLhsl(103, 72%, 28%)
HSVhsv(103, 84%, 48%)
CMYKcmyk(60.2%, 0%, 83.7%, 51.8%)
CIE-LABlab(45.45, -41.51, 44.98)
CIE-LCHlch(45.45, 61.21, 132.70°)
OKLaboklab(51.61% -0.1145 0.0996)
OKLCHoklch(51.61% 0.152 139)
XYZxyz(8.4755, 14.8687, 3.0850)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B14 #5E147B
analogous
#647B14 #317B14 #147B2B
triadic
#317B14 #14317B #7B1431
tetradic
#317B14 #14647B #5E147B #7B2B14
square
#317B14 #14647B #5E147B #7B2B14
split-complementary
#317B14 #2B147B #7B1464
monochromatic
#0A1A04 #1C460B #317B14 #46B01D #5EDD2D

Accessibility & contrast

On white

5.28
#317B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#317B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B14
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B14#FFFFFF#000000##FFFFFF
##317B141.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#297768
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b14;
/* rgb */ color: rgb(49, 123, 20);
/* oklch */ color: oklch(51.6% 0.152 139.0);
Tailwind
colors: {
  custom: {
    50: '#73a25c',
    500: '#317b14',
    950: '#000000',
  },
}
SCSS
$custom: #317b14;
$custom-light: #73a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#317b14",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 103.107,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51609,
    "c": 0.15171,
    "h": 139
  },
  "luminance": 0.14869
}

Semantic roles & 50–950 ramp

primary
#317B14
secondary
#8F3AB1
accent
#39EFBC
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317B14

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

Preview Lab → · Contrast checker → · Palette generator →

#317B14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva