#317E29#317E29

#317E29 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.142 H 141.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#317E29
RGBrgb(49, 126, 41)
HSLhsl(114, 51%, 33%)
HSVhsv(114, 67%, 49%)
CMYKcmyk(61.1%, 0%, 67.5%, 50.6%)
CIE-LABlab(46.62, -40.96, 38.05)
CIE-LCHlch(46.62, 55.91, 137.11°)
OKLaboklab(52.62% -0.1117 0.088)
OKLCHoklch(52.62% 0.142 141.8)
XYZxyz(9.1273, 15.7339, 4.6534)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E29 #76297E
analogous
#5B7E29 #317E29 #297E4B
triadic
#317E29 #29317E #7E2931
tetradic
#317E29 #295B7E #76297E #7E4B29
square
#317E29 #295B7E #76297E #7E4B29
split-complementary
#317E29 #4B297E #7E295B
monochromatic
#0D220B #1F501A #317E29 #43AC38 #63C959

Accessibility & contrast

On white

5.06
#317E29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#317E29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317E29
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E29#FFFFFF#000000##FFFFFF
##317E291.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721E
Deuteranopia (green-blind)
#776C30
Tritanopia (blue-blind)
#257A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #317e29;
/* rgb */ color: rgb(49, 126, 41);
/* oklch */ color: oklch(52.6% 0.142 141.8);
Tailwind
colors: {
  custom: {
    50: '#72a467',
    500: '#317e29',
    950: '#000000',
  },
}
SCSS
$custom: #317e29;
$custom-light: #72a467;
$custom-dark: #000000;
JSON
{
  "hex": "#317e29",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 114.353,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.14222,
    "h": 141.8
  },
  "luminance": 0.15735
}

Semantic roles & 50–950 ramp

primary
#317E29
secondary
#A655AE
accent
#4DDACD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #317E29

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

Preview Lab → · Contrast checker → · Palette generator →

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