#317B15#317B15

#317B15 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.151 H 139.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#317B15
RGBrgb(49, 123, 21)
HSLhsl(104, 71%, 28%)
HSVhsv(104, 83%, 48%)
CMYKcmyk(60.2%, 0%, 82.9%, 51.8%)
CIE-LABlab(45.46, -41.45, 44.68)
CIE-LCHlch(45.46, 60.94, 132.85°)
OKLaboklab(51.62% -0.1142 0.0991)
OKLCHoklch(51.62% 0.151 139.1)
XYZxyz(8.4846, 14.8723, 3.1328)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B15 #5F157B
analogous
#647B15 #317B15 #157B2C
triadic
#317B15 #15317B #7B1531
tetradic
#317B15 #15647B #5F157B #7B2C15
square
#317B15 #15647B #5F157B #7B2C15
split-complementary
#317B15 #2C157B #7B1564
monochromatic
#0A1A04 #1C470C #317B15 #46AF1E #5EDB2F

Accessibility & contrast

On white

5.28
#317B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#317B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B15
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B15#FFFFFF#000000##FFFFFF
##317B151.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#297768
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b15;
/* rgb */ color: rgb(49, 123, 21);
/* oklch */ color: oklch(51.6% 0.151 139.1);
Tailwind
colors: {
  custom: {
    50: '#73a25c',
    500: '#317b15',
    950: '#000000',
  },
}
SCSS
$custom: #317b15;
$custom-light: #73a25c;
$custom-dark: #000000;
JSON
{
  "hex": "#317b15",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 103.529,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.15123,
    "h": 139.1
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#317B15
secondary
#903BB0
accent
#3AEEBC
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #317B15

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

Preview Lab → · Contrast checker → · Palette generator →

#317B15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva