#317112#317112

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

Color values

HEX#317112
RGBrgb(49, 113, 18)
HSLhsl(100, 73%, 26%)
HSVhsv(100, 84%, 44%)
CMYKcmyk(56.6%, 0%, 84.1%, 55.7%)
CIE-LABlab(42.01, -37.69, 42.41)
CIE-LCHlch(42.01, 56.74, 131.63°)
OKLaboklab(48.76% -0.1043 0.0939)
OKLCHoklch(48.76% 0.14 138)
XYZxyz(7.2807, 12.5063, 2.6024)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317112 #521271
analogous
#607112 #317112 #127122
triadic
#317112 #123171 #711231
tetradic
#317112 #126071 #521271 #712212
square
#317112 #126071 #521271 #712212
split-complementary
#317112 #221271 #711260
monochromatic
#0B1A04 #1A3C0A #317112 #48A61A #5FDB23

Accessibility & contrast

On white

6.00
#317112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#317112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317112
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317112#FFFFFF#000000##FFFFFF
##3171121.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#2C6D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #317112;
/* rgb */ color: rgb(49, 113, 18);
/* oklch */ color: oklch(48.8% 0.140 138.0);
Tailwind
colors: {
  custom: {
    50: '#719a59',
    500: '#317112',
    950: '#000000',
  },
}
SCSS
$custom: #317112;
$custom-light: #719a59;
$custom-dark: #000000;
JSON
{
  "hex": "#317112",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 100.421,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48762,
    "c": 0.14035,
    "h": 138
  },
  "luminance": 0.12507
}

Semantic roles & 50–950 ramp

primary
#317112
secondary
#8337A8
accent
#39EFB4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317112

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

Preview Lab → · Contrast checker → · Palette generator →

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