#317F19#317F19

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

Color values

HEX#317F19
RGBrgb(49, 127, 25)
HSLhsl(106, 67%, 30%)
HSVhsv(106, 80%, 50%)
CMYKcmyk(61.4%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.84, -42.72, 44.68)
CIE-LCHlch(46.84, 61.82, 133.71°)
OKLaboklab(52.77% -0.1174 0.0997)
OKLCHoklch(52.77% 0.154 139.7)
XYZxyz(9.0311, 15.9011, 3.5128)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F19 #67197F
analogous
#647F19 #317F19 #197F34
triadic
#317F19 #19317F #7F1931
tetradic
#317F19 #19647F #67197F #7F3419
square
#317F19 #19647F #67197F #7F3419
split-complementary
#317F19 #34197F #7F1964
monochromatic
#0A1A05 #1D4C0F #317F19 #45B223 #5FD83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317F19#FFFFFF#000000##FFFFFF
##317F191.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)
#837300
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#277B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317f19;
/* rgb */ color: rgb(49, 127, 25);
/* oklch */ color: oklch(52.8% 0.154 139.7);
Tailwind
colors: {
  custom: {
    50: '#73a55e',
    500: '#317f19',
    950: '#000000',
  },
}
SCSS
$custom: #317f19;
$custom-light: #73a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#317f19",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 105.882,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.15406,
    "h": 139.7
  },
  "luminance": 0.15902
}

Semantic roles & 50–950 ramp

primary
#317F19
secondary
#9841B3
accent
#3EEAC1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317F19

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

Preview Lab → · Contrast checker → · Palette generator →

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