#317E28#317E28

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

Color values

HEX#317E28
RGBrgb(49, 126, 40)
HSLhsl(114, 52%, 33%)
HSVhsv(114, 68%, 49%)
CMYKcmyk(61.1%, 0%, 68.3%, 50.6%)
CIE-LABlab(46.61, -41.07, 38.49)
CIE-LCHlch(46.61, 56.28, 136.86°)
OKLaboklab(52.61% -0.1121 0.0888)
OKLCHoklch(52.61% 0.143 141.6)
XYZxyz(9.1100, 15.7271, 4.5626)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E28 #75287E
analogous
#5C7E28 #317E28 #287E4A
triadic
#317E28 #28317E #7E2831
tetradic
#317E28 #285C7E #75287E #7E4A28
square
#317E28 #285C7E #75287E #7E4A28
split-complementary
#317E28 #4A287E #7E285C
monochromatic
#0D210B #1F5019 #317E28 #43AC37 #63CA57

Accessibility & contrast

On white

5.07
#317E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317E28
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E28#FFFFFF#000000##FFFFFF
##317E281.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317e28;
/* rgb */ color: rgb(49, 126, 40);
/* oklch */ color: oklch(52.6% 0.143 141.6);
Tailwind
colors: {
  custom: {
    50: '#72a466',
    500: '#317e28',
    950: '#000000',
  },
}
SCSS
$custom: #317e28;
$custom-light: #72a466;
$custom-dark: #000000;
JSON
{
  "hex": "#317e28",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 113.721,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.14299,
    "h": 141.6
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#317E28
secondary
#A553AF
accent
#4DDBCC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #317E28

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

Preview Lab → · Contrast checker → · Palette generator →

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