#317B29#317B29

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

Color values

HEX#317B29
RGBrgb(49, 123, 41)
HSLhsl(114, 50%, 32%)
HSVhsv(114, 67%, 48%)
CMYKcmyk(60.2%, 0%, 66.7%, 51.8%)
CIE-LABlab(45.60, -39.77, 36.93)
CIE-LCHlch(45.60, 54.27, 137.13°)
OKLaboklab(51.78% -0.1085 0.0856)
OKLCHoklch(51.78% 0.138 141.7)
XYZxyz(8.7494, 14.9782, 4.5274)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B29 #73297B
analogous
#5A7B29 #317B29 #297B4A
triadic
#317B29 #29317B #7B2931
tetradic
#317B29 #295A7B #73297B #7B4A29
square
#317B29 #295A7B #73297B #7B4A29
split-complementary
#317B29 #4A297B #7B295A
monochromatic
#0C1F0A #1F4D1A #317B29 #43A938 #62C757

Accessibility & contrast

On white

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

On black

4.00
#317B29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317B29#FFFFFF#000000##FFFFFF
##317B291.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701F
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#26776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b29;
/* rgb */ color: rgb(49, 123, 41);
/* oklch */ color: oklch(51.8% 0.138 141.7);
Tailwind
colors: {
  custom: {
    50: '#72a267',
    500: '#317b29',
    950: '#000000',
  },
}
SCSS
$custom: #317b29;
$custom-light: #72a267;
$custom-dark: #000000;
JSON
{
  "hex": "#317b29",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 114.146,
    "s": 50,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51782,
    "c": 0.13823,
    "h": 141.7
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#317B29
secondary
#A453AC
accent
#4EDACC
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317B29

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

Preview Lab → · Contrast checker → · Palette generator →

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