#317F1E#317F1E

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

Color values

HEX#317F1E
RGBrgb(49, 127, 30)
HSLhsl(108, 62%, 31%)
HSVhsv(108, 76%, 50%)
CMYKcmyk(61.4%, 0%, 76.4%, 50.2%)
CIE-LABlab(46.88, -42.36, 42.92)
CIE-LCHlch(46.88, 60.30, 134.63°)
OKLaboklab(52.8% -0.1162 0.0968)
OKLCHoklch(52.8% 0.151 140.2)
XYZxyz(9.0899, 15.9246, 3.8228)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F1E #6C1E7F
analogous
#617F1E #317F1E #1E7F3B
triadic
#317F1E #1E317F #7F1E31
tetradic
#317F1E #1E617F #6C1E7F #7F3B1E
square
#317F1E #1E617F #6C1E7F #7F3B1E
split-complementary
#317F1E #3B1E7F #7F1E61
monochromatic
#0B1C07 #1E4D12 #317F1E #44B12A #60D344

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317F1E#FFFFFF#000000##FFFFFF
##317F1E1.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)
#83730B
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#277B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317f1e;
/* rgb */ color: rgb(49, 127, 30);
/* oklch */ color: oklch(52.8% 0.151 140.2);
Tailwind
colors: {
  custom: {
    50: '#73a561',
    500: '#317f1e',
    950: '#000000',
  },
}
SCSS
$custom: #317f1e;
$custom-light: #73a561;
$custom-dark: #000000;
JSON
{
  "hex": "#317f1e",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 108.247,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52802,
    "c": 0.1512,
    "h": 140.2
  },
  "luminance": 0.15925
}

Semantic roles & 50–950 ramp

primary
#317F1E
secondary
#9D47B2
accent
#43E5C5
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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