#317518#317518

#317518 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.142 H 139.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#317518
RGBrgb(49, 117, 24)
HSLhsl(104, 66%, 28%)
HSVhsv(104, 79%, 46%)
CMYKcmyk(58.1%, 0%, 79.5%, 54.1%)
CIE-LABlab(43.42, -38.91, 41.72)
CIE-LCHlch(43.42, 57.05, 133.00°)
OKLaboklab(49.94% -0.1072 0.0934)
OKLCHoklch(49.94% 0.142 139)
XYZxyz(7.7925, 13.4408, 3.0477)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317518 #5C1875
analogous
#5F7518 #317518 #18752E
triadic
#317518 #183175 #751831
tetradic
#317518 #185F75 #5C1875 #752E18
square
#317518 #185F75 #5C1875 #752E18
split-complementary
#317518 #2E1875 #75185F
monochromatic
#0B1905 #1C420E #317518 #46A822 #5ED532

Accessibility & contrast

On white

5.69
#317518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#317518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317518
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317518#FFFFFF#000000##FFFFFF
##3175181.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#2A7163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #317518;
/* rgb */ color: rgb(49, 117, 24);
/* oklch */ color: oklch(49.9% 0.142 139.0);
Tailwind
colors: {
  custom: {
    50: '#729d5d',
    500: '#317518',
    950: '#000000',
  },
}
SCSS
$custom: #317518;
$custom-light: #729d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#317518",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 103.871,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49937,
    "c": 0.1422,
    "h": 139
  },
  "luminance": 0.13441
}

Semantic roles & 50–950 ramp

primary
#317518
secondary
#8D3FAA
accent
#3FE9BB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317518

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

Preview Lab → · Contrast checker → · Palette generator →

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