#317B1A#317B1A

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

Color values

HEX#317B1A
RGBrgb(49, 123, 26)
HSLhsl(106, 65%, 29%)
HSVhsv(106, 79%, 48%)
CMYKcmyk(60.2%, 0%, 78.9%, 51.8%)
CIE-LABlab(45.49, -41.12, 43.02)
CIE-LCHlch(45.49, 59.51, 133.71°)
OKLaboklab(51.65% -0.1131 0.0964)
OKLCHoklch(51.65% 0.149 139.6)
XYZxyz(8.5357, 14.8927, 3.4019)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B1A #641A7B
analogous
#627B1A #317B1A #1A7B34
triadic
#317B1A #1A317B #7B1A31
tetradic
#317B1A #1A627B #641A7B #7B341A
square
#317B1A #1A627B #641A7B #7B341A
split-complementary
#317B1A #341A7B #7B1A62
monochromatic
#0A1905 #1D480F #317B1A #45AE25 #5FD53A

Accessibility & contrast

On white

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

On black

3.98
#317B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317B1A#FFFFFF#000000##FFFFFF
##317B1A1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F04
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#287769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b1a;
/* rgb */ color: rgb(49, 123, 26);
/* oklch */ color: oklch(51.6% 0.149 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a25e',
    500: '#317b1a',
    950: '#000000',
  },
}
SCSS
$custom: #317b1a;
$custom-light: #73a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#317b1a",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 105.773,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51647,
    "c": 0.14858,
    "h": 139.6
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

primary
#317B1A
secondary
#9542AF
accent
#40E8C0
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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