#317015#317015

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

Color values

HEX#317015
RGBrgb(49, 112, 21)
HSLhsl(102, 68%, 26%)
HSVhsv(102, 81%, 44%)
CMYKcmyk(56.3%, 0%, 81.2%, 56.1%)
CIE-LABlab(41.68, -37.10, 41.10)
CIE-LCHlch(41.68, 55.37, 132.07°)
OKLaboklab(48.5% -0.1026 0.0916)
OKLCHoklch(48.5% 0.138 138.2)
XYZxyz(7.1959, 12.2949, 2.7033)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317015 #541570
analogous
#5E7015 #317015 #157026
triadic
#317015 #153170 #701531
tetradic
#317015 #155E70 #541570 #702615
square
#317015 #155E70 #541570 #702615
split-complementary
#317015 #261570 #70155E
monochromatic
#0B1A05 #1A3C0B #317015 #48A41F #5ED729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317015#FFFFFF#000000##FFFFFF
##3170151.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)
#746600
Deuteranopia (green-blind)
#6C601F
Tritanopia (blue-blind)
#2C6C5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #317015;
/* rgb */ color: rgb(49, 112, 21);
/* oklch */ color: oklch(48.5% 0.138 138.2);
Tailwind
colors: {
  custom: {
    50: '#719a5a',
    500: '#317015',
    950: '#000000',
  },
}
SCSS
$custom: #317015;
$custom-light: #719a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#317015",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 101.538,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48496,
    "c": 0.13753,
    "h": 138.2
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#317015
secondary
#853BA6
accent
#3DEBB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #317015

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

Preview Lab → · Contrast checker → · Palette generator →

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