#317512#317512

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

Color values

HEX#317512
RGBrgb(49, 117, 18)
HSLhsl(101, 73%, 26%)
HSVhsv(101, 85%, 46%)
CMYKcmyk(58.1%, 0%, 84.6%, 54.1%)
CIE-LABlab(43.39, -39.29, 43.68)
CIE-LCHlch(43.39, 58.75, 131.97°)
OKLaboklab(49.9% -0.1086 0.0965)
OKLCHoklch(49.9% 0.145 138.4)
XYZxyz(7.7368, 13.4186, 2.7545)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317512 #561275
analogous
#637512 #317512 #127525
triadic
#317512 #123175 #751231
tetradic
#317512 #126375 #561275 #752512
square
#317512 #126375 #561275 #752512
split-complementary
#317512 #251275 #751263
monochromatic
#0B1B04 #1B400A #317512 #47AA1A #5EDD24

Accessibility & contrast

On white

5.70
#317512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#317512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317512
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317512#FFFFFF#000000##FFFFFF
##3175121.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#2B7163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #317512;
/* rgb */ color: rgb(49, 117, 18);
/* oklch */ color: oklch(49.9% 0.145 138.4);
Tailwind
colors: {
  custom: {
    50: '#729d5a',
    500: '#317512',
    950: '#000000',
  },
}
SCSS
$custom: #317512;
$custom-light: #729d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#317512",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 101.212,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49899,
    "c": 0.14531,
    "h": 138.4
  },
  "luminance": 0.13419
}

Semantic roles & 50–950 ramp

primary
#317512
secondary
#8737AC
accent
#38F0B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317512

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

Preview Lab → · Contrast checker → · Palette generator →

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