#317F10#317F10

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

Color values

HEX#317F10
RGBrgb(49, 127, 16)
HSLhsl(102, 78%, 28%)
HSVhsv(102, 87%, 50%)
CMYKcmyk(61.4%, 0%, 87.4%, 50.2%)
CIE-LABlab(46.80, -43.23, 47.33)
CIE-LCHlch(46.80, 64.10, 132.41°)
OKLaboklab(52.72% -0.1193 0.1039)
OKLCHoklch(52.72% 0.158 138.9)
XYZxyz(8.9492, 15.8683, 3.0814)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F10 #5E107F
analogous
#687F10 #317F10 #107F26
triadic
#317F10 #10317F #7F1031
tetradic
#317F10 #10687F #5E107F #7F2610
square
#317F10 #10687F #5E107F #7F2610
split-complementary
#317F10 #26107F #7F1068
monochromatic
#0A1B03 #1C4909 #317F10 #46B517 #5EE426

Accessibility & contrast

On white

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

On black

4.17
#317F10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317F10#FFFFFF#000000##FFFFFF
##317F101.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317f10;
/* rgb */ color: rgb(49, 127, 16);
/* oklch */ color: oklch(52.7% 0.158 138.9);
Tailwind
colors: {
  custom: {
    50: '#74a55b',
    500: '#317f10',
    950: '#000000',
  },
}
SCSS
$custom: #317f10;
$custom-light: #74a55b;
$custom-dark: #000000;
JSON
{
  "hex": "#317f10",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 16
  },
  "hsl": {
    "h": 102.162,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.15819,
    "h": 138.9
  },
  "luminance": 0.15869
}

Semantic roles & 50–950 ramp

primary
#317F10
secondary
#8F36B5
accent
#34F4BB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317F10

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

Preview Lab → · Contrast checker → · Palette generator →

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