#317F23#317F23

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

Color values

HEX#317F23
RGBrgb(49, 127, 35)
HSLhsl(111, 57%, 32%)
HSVhsv(111, 72%, 50%)
CMYKcmyk(61.4%, 0%, 72.4%, 50.2%)
CIE-LABlab(46.91, -41.94, 40.97)
CIE-LCHlch(46.91, 58.63, 135.67°)
OKLaboklab(52.84% -0.1147 0.0934)
OKLCHoklch(52.84% 0.148 140.9)
XYZxyz(9.1589, 15.9522, 4.1862)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317F23 #71237F
analogous
#5F7F23 #317F23 #237F43
triadic
#317F23 #23317F #7F2331
tetradic
#317F23 #235F7F #71237F #7F4323
square
#317F23 #235F7F #71237F #7F4323
split-complementary
#317F23 #43237F #7F235F
monochromatic
#0C1F09 #1E4F16 #317F23 #44AF30 #62CE4E

Accessibility & contrast

On white

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

On black

4.19
#317F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317F23#FFFFFF#000000##FFFFFF
##317F231.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#267B6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317f23;
/* rgb */ color: rgb(49, 127, 35);
/* oklch */ color: oklch(52.8% 0.148 140.9);
Tailwind
colors: {
  custom: {
    50: '#73a564',
    500: '#317f23',
    950: '#000000',
  },
}
SCSS
$custom: #317f23;
$custom-light: #73a564;
$custom-dark: #000000;
JSON
{
  "hex": "#317f23",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 110.87,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52844,
    "c": 0.14794,
    "h": 140.9
  },
  "luminance": 0.15953
}

Semantic roles & 50–950 ramp

primary
#317F23
secondary
#A24CB1
accent
#48E0C9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #317F23

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

Preview Lab → · Contrast checker → · Palette generator →

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