#317018#317018

#317018 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.136 H 138.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#317018
RGBrgb(49, 112, 24)
HSLhsl(103, 65%, 27%)
HSVhsv(103, 79%, 44%)
CMYKcmyk(56.3%, 0%, 78.6%, 56.1%)
CIE-LABlab(41.70, -36.90, 40.04)
CIE-LCHlch(41.70, 54.45, 132.66°)
OKLaboklab(48.52% -0.1018 0.0899)
OKLCHoklch(48.52% 0.136 138.6)
XYZxyz(7.2254, 12.3067, 2.8587)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317018 #571870
analogous
#5D7018 #317018 #18702B
triadic
#317018 #183170 #701831
tetradic
#317018 #185D70 #571870 #702B18
square
#317018 #185D70 #571870 #702B18
split-complementary
#317018 #2B1870 #70185D
monochromatic
#0B1905 #1B3E0D #317018 #47A223 #5ED330

Accessibility & contrast

On white

6.07
#317018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#317018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317018
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317018#FFFFFF#000000##FFFFFF
##3170181.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746606
Deuteranopia (green-blind)
#6C6021
Tritanopia (blue-blind)
#2B6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #317018;
/* rgb */ color: rgb(49, 112, 24);
/* oklch */ color: oklch(48.5% 0.136 138.6);
Tailwind
colors: {
  custom: {
    50: '#719a5c',
    500: '#317018',
    950: '#000000',
  },
}
SCSS
$custom: #317018;
$custom-light: #719a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#317018",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 102.955,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.1358,
    "h": 138.6
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#317018
secondary
#883EA5
accent
#40E8B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317018

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

Preview Lab → · Contrast checker → · Palette generator →

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