#317F27#317F27

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

Color values

HEX#317F27
RGBrgb(49, 127, 39)
HSLhsl(113, 53%, 33%)
HSVhsv(113, 69%, 50%)
CMYKcmyk(61.4%, 0%, 69.3%, 50.2%)
CIE-LABlab(46.94, -41.56, 39.29)
CIE-LCHlch(46.94, 57.19, 136.61°)
OKLaboklab(52.88% -0.1135 0.0904)
OKLCHoklch(52.88% 0.145 141.5)
XYZxyz(9.2217, 15.9774, 4.5170)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F27 #75277F
analogous
#5D7F27 #317F27 #277F49
triadic
#317F27 #27317F #7F2731
tetradic
#317F27 #275D7F #75277F #7F4927
square
#317F27 #275D7F #75277F #7F4927
split-complementary
#317F27 #49277F #7F275D
monochromatic
#0D210A #1F5019 #317F27 #43AE35 #63CB55

Accessibility & contrast

On white

5.01
#317F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317F27
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317F27#FFFFFF#000000##FFFFFF
##317F271.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317f27;
/* rgb */ color: rgb(49, 127, 39);
/* oklch */ color: oklch(52.9% 0.145 141.5);
Tailwind
colors: {
  custom: {
    50: '#73a566',
    500: '#317f27',
    950: '#000000',
  },
}
SCSS
$custom: #317f27;
$custom-light: #73a566;
$custom-dark: #000000;
JSON
{
  "hex": "#317f27",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 113.182,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.14507,
    "h": 141.5
  },
  "luminance": 0.15978
}

Semantic roles & 50–950 ramp

primary
#317F27
secondary
#A552B0
accent
#4BDCCC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #317F27

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

Preview Lab → · Contrast checker → · Palette generator →

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