#317B26#317B26

#317B26 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.141 H 141.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#317B26
RGBrgb(49, 123, 38)
HSLhsl(112, 53%, 32%)
HSVhsv(112, 69%, 48%)
CMYKcmyk(60.2%, 0%, 69.1%, 51.8%)
CIE-LABlab(45.58, -40.09, 38.26)
CIE-LCHlch(45.58, 55.42, 136.34°)
OKLaboklab(51.75% -0.1095 0.0881)
OKLCHoklch(51.75% 0.141 141.2)
XYZxyz(8.6990, 14.9581, 4.2621)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B26 #70267B
analogous
#5C7B26 #317B26 #267B46
triadic
#317B26 #26317B #7B2631
tetradic
#317B26 #265C7B #70267B #7B4626
square
#317B26 #265C7B #70267B #7B4626
split-complementary
#317B26 #46267B #7B265C
monochromatic
#0C1D09 #1E4C18 #317B26 #44AA34 #61CA52

Accessibility & contrast

On white

5.26
#317B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#317B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B26
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B26#FFFFFF#000000##FFFFFF
##317B261.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701B
Deuteranopia (green-blind)
#756A2E
Tritanopia (blue-blind)
#27776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b26;
/* rgb */ color: rgb(49, 123, 38);
/* oklch */ color: oklch(51.7% 0.141 141.2);
Tailwind
colors: {
  custom: {
    50: '#72a265',
    500: '#317b26',
    950: '#000000',
  },
}
SCSS
$custom: #317b26;
$custom-light: #72a265;
$custom-dark: #000000;
JSON
{
  "hex": "#317b26",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 112.235,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5175,
    "c": 0.14057,
    "h": 141.2
  },
  "luminance": 0.14959
}

Semantic roles & 50–950 ramp

primary
#317B26
secondary
#A150AD
accent
#4CDCC9
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317B26

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

Preview Lab → · Contrast checker → · Palette generator →

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