#317E10#317E10

#317E10 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#317E10
RGBrgb(49, 126, 16)
HSLhsl(102, 77%, 28%)
HSVhsv(102, 87%, 49%)
CMYKcmyk(61.1%, 0%, 87.3%, 50.6%)
CIE-LABlab(46.46, -42.85, 47.03)
CIE-LCHlch(46.46, 63.62, 132.34°)
OKLaboklab(52.44% -0.1183 0.1033)
OKLCHoklch(52.44% 0.157 138.9)
XYZxyz(8.8206, 15.6113, 3.0386)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E10 #5D107E
analogous
#687E10 #317E10 #107E26
triadic
#317E10 #10317E #7E1031
tetradic
#317E10 #10687E #5D107E #7E2610
square
#317E10 #10687E #5D107E #7E2610
split-complementary
#317E10 #26107E #7E1068
monochromatic
#0B1B03 #1C4809 #317E10 #46B417 #5EE325

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317E10#FFFFFF#000000##FFFFFF
##317E101.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: #317e10;
/* rgb */ color: rgb(49, 126, 16);
/* oklch */ color: oklch(52.4% 0.157 138.9);
Tailwind
colors: {
  custom: {
    50: '#74a45b',
    500: '#317e10',
    950: '#000000',
  },
}
SCSS
$custom: #317e10;
$custom-light: #74a45b;
$custom-dark: #000000;
JSON
{
  "hex": "#317e10",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 16
  },
  "hsl": {
    "h": 102,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52436,
    "c": 0.15701,
    "h": 138.9
  },
  "luminance": 0.15612
}

Semantic roles & 50–950 ramp

primary
#317E10
secondary
#8E36B4
accent
#34F4BA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317E10

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

Preview Lab → · Contrast checker → · Palette generator →

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