#317F26#317F26

#317F26 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.146 H 141.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#317F26
RGBrgb(49, 127, 38)
HSLhsl(113, 54%, 32%)
HSVhsv(113, 70%, 50%)
CMYKcmyk(61.4%, 0%, 70.1%, 50.2%)
CIE-LABlab(46.94, -41.66, 39.72)
CIE-LCHlch(46.94, 57.56, 136.37°)
OKLaboklab(52.87% -0.1138 0.0912)
OKLCHoklch(52.87% 0.146 141.3)
XYZxyz(9.2054, 15.9708, 4.4309)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F26 #74267F
analogous
#5E7F26 #317F26 #267F47
triadic
#317F26 #26317F #7F2631
tetradic
#317F26 #265E7F #74267F #7F4726
square
#317F26 #265E7F #74267F #7F4726
split-complementary
#317F26 #47267F #7F265E
monochromatic
#0D210A #1F5018 #317F26 #43AE34 #63CC54

Accessibility & contrast

On white

5.01
#317F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#317F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317F26
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F26#FFFFFF#000000##FFFFFF
##317F261.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#257B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317f26;
/* rgb */ color: rgb(49, 127, 38);
/* oklch */ color: oklch(52.9% 0.146 141.3);
Tailwind
colors: {
  custom: {
    50: '#73a565',
    500: '#317f26',
    950: '#000000',
  },
}
SCSS
$custom: #317f26;
$custom-light: #73a565;
$custom-dark: #000000;
JSON
{
  "hex": "#317f26",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 112.584,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.14581,
    "h": 141.3
  },
  "luminance": 0.15972
}

Semantic roles & 50–950 ramp

primary
#317F26
secondary
#A451B0
accent
#4ADDCB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #317F26

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

Preview Lab → · Contrast checker → · Palette generator →

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