#317E19#317E19

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

Color values

HEX#317E19
RGBrgb(49, 126, 25)
HSLhsl(106, 67%, 30%)
HSVhsv(106, 80%, 49%)
CMYKcmyk(61.1%, 0%, 80.2%, 50.6%)
CIE-LABlab(46.50, -42.34, 44.36)
CIE-LCHlch(46.50, 61.32, 133.67°)
OKLaboklab(52.49% -0.1164 0.099)
OKLCHoklch(52.49% 0.153 139.6)
XYZxyz(8.9026, 15.6441, 3.4700)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E19 #66197E
analogous
#637E19 #317E19 #197E34
triadic
#317E19 #19317E #7E1931
tetradic
#317E19 #19637E #66197E #7E3419
square
#317E19 #19637E #66197E #7E3419
split-complementary
#317E19 #34197E #7E1963
monochromatic
#0A1A05 #1D4B0F #317E19 #45B123 #5FD83A

Accessibility & contrast

On white

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

On black

4.13
#317E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317E19#FFFFFF#000000##FFFFFF
##317E191.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#287A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e19;
/* rgb */ color: rgb(49, 126, 25);
/* oklch */ color: oklch(52.5% 0.153 139.6);
Tailwind
colors: {
  custom: {
    50: '#73a45e',
    500: '#317e19',
    950: '#000000',
  },
}
SCSS
$custom: #317e19;
$custom-light: #73a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#317e19",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 105.743,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.15284,
    "h": 139.6
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#317E19
secondary
#9741B2
accent
#3EEAC1
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317E19

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

Preview Lab → · Contrast checker → · Palette generator →

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