#317E11#317E11

#317E11 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.157 H 138.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#317E11
RGBrgb(49, 126, 17)
HSLhsl(102, 76%, 28%)
HSVhsv(102, 87%, 49%)
CMYKcmyk(61.1%, 0%, 86.5%, 50.6%)
CIE-LABlab(46.46, -42.81, 46.77)
CIE-LCHlch(46.46, 63.40, 132.47°)
OKLaboklab(52.44% -0.1181 0.1029)
OKLCHoklch(52.44% 0.157 138.9)
XYZxyz(8.8283, 15.6144, 3.0788)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E11 #5E117E
analogous
#677E11 #317E11 #117E27
triadic
#317E11 #11317E #7E1131
tetradic
#317E11 #11677E #5E117E #7E2711
square
#317E11 #11677E #5E117E #7E2711
split-complementary
#317E11 #27117E #7E1167
monochromatic
#0A1B04 #1C480A #317E11 #46B418 #5EE227

Accessibility & contrast

On white

5.09
#317E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#317E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E11
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E11#FFFFFF#000000##FFFFFF
##317E111.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#28796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e11;
/* rgb */ color: rgb(49, 126, 17);
/* oklch */ color: oklch(52.4% 0.157 138.9);
Tailwind
colors: {
  custom: {
    50: '#74a45b',
    500: '#317e11',
    950: '#000000',
  },
}
SCSS
$custom: #317e11;
$custom-light: #74a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#317e11",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 17
  },
  "hsl": {
    "h": 102.385,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.15661,
    "h": 138.9
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#317E11
secondary
#8F37B4
accent
#35F3BB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317E11

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

Preview Lab → · Contrast checker → · Palette generator →

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