#317F16#317F16

#317F16 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.156 H 139.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#317F16
RGBrgb(49, 127, 22)
HSLhsl(105, 70%, 29%)
HSVhsv(105, 83%, 50%)
CMYKcmyk(61.4%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.83, -42.91, 45.65)
CIE-LCHlch(46.83, 62.65, 133.23°)
OKLaboklab(52.75% -0.1181 0.1013)
OKLCHoklch(52.75% 0.156 139.4)
XYZxyz(9.0004, 15.8888, 3.3514)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F16 #64167F
analogous
#667F16 #317F16 #167F2F
triadic
#317F16 #16317F #7F1631
tetradic
#317F16 #16667F #64167F #7F2F16
square
#317F16 #16667F #64167F #7F2F16
split-complementary
#317F16 #2F167F #7F1666
monochromatic
#0A1A05 #1D4B0D #317F16 #45B31F #5FDC34

Accessibility & contrast

On white

5.03
#317F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317F16
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F16#FFFFFF#000000##FFFFFF
##317F161.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#287A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317f16;
/* rgb */ color: rgb(49, 127, 22);
/* oklch */ color: oklch(52.7% 0.156 139.4);
Tailwind
colors: {
  custom: {
    50: '#74a55d',
    500: '#317f16',
    950: '#000000',
  },
}
SCSS
$custom: #317f16;
$custom-light: #74a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#317f16",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 104.571,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.15558,
    "h": 139.4
  },
  "luminance": 0.1589
}

Semantic roles & 50–950 ramp

primary
#317F16
secondary
#953DB4
accent
#3BEDBF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317F16

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

Preview Lab → · Contrast checker → · Palette generator →

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