#317415#317415

#317415 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.143 H 138.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#317415
RGBrgb(49, 116, 21)
HSLhsl(102, 69%, 27%)
HSVhsv(102, 82%, 45%)
CMYKcmyk(57.8%, 0%, 81.9%, 54.5%)
CIE-LABlab(43.06, -38.71, 42.42)
CIE-LCHlch(43.06, 57.43, 132.39°)
OKLaboklab(49.63% -0.1069 0.0944)
OKLCHoklch(49.63% 0.143 138.6)
XYZxyz(7.6471, 13.1973, 2.8537)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317415 #581574
analogous
#617415 #317415 #157429
triadic
#317415 #153174 #741531
tetradic
#317415 #156174 #581574 #742915
square
#317415 #156174 #581574 #742915
split-complementary
#317415 #291574 #741561
monochromatic
#0B1A05 #1B400C #317415 #47A81E #5ED92B

Accessibility & contrast

On white

5.77
#317415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#317415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317415
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317415#FFFFFF#000000##FFFFFF
##3174151.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F6420
Tritanopia (blue-blind)
#2B7062
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #317415;
/* rgb */ color: rgb(49, 116, 21);
/* oklch */ color: oklch(49.6% 0.143 138.6);
Tailwind
colors: {
  custom: {
    50: '#729d5b',
    500: '#317415',
    950: '#000000',
  },
}
SCSS
$custom: #317415;
$custom-light: #729d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#317415",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 102.316,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49633,
    "c": 0.14259,
    "h": 138.6
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#317415
secondary
#893BAA
accent
#3CECB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317415

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

Preview Lab → · Contrast checker → · Palette generator →

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