#317E18#317E18

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

Color values

HEX#317E18
RGBrgb(49, 126, 24)
HSLhsl(105, 68%, 29%)
HSVhsv(105, 81%, 49%)
CMYKcmyk(61.1%, 0%, 81%, 50.6%)
CIE-LABlab(46.50, -42.41, 44.69)
CIE-LCHlch(46.50, 61.61, 133.50°)
OKLaboklab(52.48% -0.1167 0.0996)
OKLCHoklch(52.48% 0.153 139.5)
XYZxyz(8.8920, 15.6398, 3.4142)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E18 #65187E
analogous
#647E18 #317E18 #187E32
triadic
#317E18 #18317E #7E1831
tetradic
#317E18 #18647E #65187E #7E3218
square
#317E18 #18647E #65187E #7E3218
split-complementary
#317E18 #32187E #7E1864
monochromatic
#0A1A05 #1D4B0E #317E18 #45B122 #5FD937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317E18#FFFFFF#000000##FFFFFF
##317E181.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: #317e18;
/* rgb */ color: rgb(49, 126, 24);
/* oklch */ color: oklch(52.5% 0.153 139.5);
Tailwind
colors: {
  custom: {
    50: '#73a45e',
    500: '#317e18',
    950: '#000000',
  },
}
SCSS
$custom: #317e18;
$custom-light: #73a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#317e18",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 105.294,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52479,
    "c": 0.15337,
    "h": 139.5
  },
  "luminance": 0.15641
}

Semantic roles & 50–950 ramp

primary
#317E18
secondary
#963FB2
accent
#3DEBC0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317E18

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

Preview Lab → · Contrast checker → · Palette generator →

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