#317118#317118

#317118 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.137 H 138.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#317118
RGBrgb(49, 113, 24)
HSLhsl(103, 65%, 27%)
HSVhsv(103, 79%, 44%)
CMYKcmyk(56.6%, 0%, 78.8%, 55.7%)
CIE-LABlab(42.04, -37.30, 40.38)
CIE-LCHlch(42.04, 54.97, 132.73°)
OKLaboklab(48.8% -0.1029 0.0906)
OKLCHoklch(48.8% 0.137 138.7)
XYZxyz(7.3363, 12.5286, 2.8956)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317118 #581871
analogous
#5E7118 #317118 #18712C
triadic
#317118 #183171 #711831
tetradic
#317118 #185E71 #581871 #712C18
square
#317118 #185E71 #581871 #712C18
split-complementary
#317118 #2C1871 #71185E
monochromatic
#0B1905 #1B3F0D #317118 #47A323 #5ED330

Accessibility & contrast

On white

5.99
#317118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#317118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317118
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317118#FFFFFF#000000##FFFFFF
##3171181.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756705
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#2B6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #317118;
/* rgb */ color: rgb(49, 113, 24);
/* oklch */ color: oklch(48.8% 0.137 138.7);
Tailwind
colors: {
  custom: {
    50: '#719a5c',
    500: '#317118',
    950: '#000000',
  },
}
SCSS
$custom: #317118;
$custom-light: #719a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#317118",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 103.146,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.13709,
    "h": 138.7
  },
  "luminance": 0.12529
}

Semantic roles & 50–950 ramp

primary
#317118
secondary
#893EA6
accent
#40E8B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317118

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

Preview Lab → · Contrast checker → · Palette generator →

#317118 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva