#317F1A#317F1A

#317F1A is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.154 H 139.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#317F1A
RGBrgb(49, 127, 26)
HSLhsl(106, 66%, 30%)
HSVhsv(106, 80%, 50%)
CMYKcmyk(61.4%, 0%, 79.5%, 50.2%)
CIE-LABlab(46.85, -42.66, 44.35)
CIE-LCHlch(46.85, 61.53, 133.89°)
OKLaboklab(52.77% -0.1172 0.0992)
OKLCHoklch(52.77% 0.154 139.8)
XYZxyz(9.0420, 15.9055, 3.5706)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F1A #681A7F
analogous
#637F1A #317F1A #1A7F36
triadic
#317F1A #1A317F #7F1A31
tetradic
#317F1A #1A637F #681A7F #7F361A
square
#317F1A #1A637F #681A7F #7F361A
split-complementary
#317F1A #361A7F #7F1A63
monochromatic
#0A1905 #1D4C10 #317F1A #45B224 #60D73C

Accessibility & contrast

On white

5.02
#317F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#317F1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317F1A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F1A#FFFFFF#000000##FFFFFF
##317F1A1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837302
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#277B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317f1a;
/* rgb */ color: rgb(49, 127, 26);
/* oklch */ color: oklch(52.8% 0.154 139.8);
Tailwind
colors: {
  custom: {
    50: '#73a55f',
    500: '#317f1a',
    950: '#000000',
  },
}
SCSS
$custom: #317f1a;
$custom-light: #73a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#317f1a",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 26
  },
  "hsl": {
    "h": 106.337,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.52774,
    "c": 0.15352,
    "h": 139.8
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#317F1A
secondary
#9942B3
accent
#3FE9C2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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