#317F29#317F29

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

Color values

HEX#317F29
RGBrgb(49, 127, 41)
HSLhsl(114, 51%, 33%)
HSVhsv(114, 68%, 50%)
CMYKcmyk(61.4%, 0%, 67.7%, 50.2%)
CIE-LABlab(46.96, -41.36, 38.42)
CIE-LCHlch(46.96, 56.45, 137.11°)
OKLaboklab(52.9% -0.1128 0.0888)
OKLCHoklch(52.9% 0.144 141.8)
XYZxyz(9.2558, 15.9910, 4.6962)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F29 #77297F
analogous
#5C7F29 #317F29 #297F4C
triadic
#317F29 #29317F #7F2931
tetradic
#317F29 #295C7F #77297F #7F4C29
square
#317F29 #295C7F #77297F #7F4C29
split-complementary
#317F29 #4C297F #7F295C
monochromatic
#0D220B #1F511A #317F29 #43AD38 #63C959

Accessibility & contrast

On white

5.00
#317F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#317F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317F29
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F29#FFFFFF#000000##FFFFFF
##317F291.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731E
Deuteranopia (green-blind)
#786D31
Tritanopia (blue-blind)
#257B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317f29;
/* rgb */ color: rgb(49, 127, 41);
/* oklch */ color: oklch(52.9% 0.144 141.8);
Tailwind
colors: {
  custom: {
    50: '#73a567',
    500: '#317f29',
    950: '#000000',
  },
}
SCSS
$custom: #317f29;
$custom-light: #73a567;
$custom-dark: #000000;
JSON
{
  "hex": "#317f29",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 114.419,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52902,
    "c": 0.14354,
    "h": 141.8
  },
  "luminance": 0.15992
}

Semantic roles & 50–950 ramp

primary
#317F29
secondary
#A655AF
accent
#4DDBCD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #317F29

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

Preview Lab → · Contrast checker → · Palette generator →

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