#317D23#317D23

#317D23 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.145 H 140.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#317D23
RGBrgb(49, 125, 35)
HSLhsl(111, 56%, 31%)
HSVhsv(111, 72%, 49%)
CMYKcmyk(60.8%, 0%, 72%, 51%)
CIE-LABlab(46.23, -41.16, 40.26)
CIE-LCHlch(46.23, 57.58, 135.64°)
OKLaboklab(52.28% -0.1126 0.0919)
OKLCHoklch(52.28% 0.145 140.8)
XYZxyz(8.9032, 15.4407, 4.1010)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317D23 #6F237D
analogous
#5E7D23 #317D23 #237D42
triadic
#317D23 #23317D #7D2331
tetradic
#317D23 #235E7D #6F237D #7D4223
square
#317D23 #235E7D #6F237D #7D4223
split-complementary
#317D23 #42237D #7D235E
monochromatic
#0C1D08 #1E4D16 #317D23 #44AD30 #61CD4D

Accessibility & contrast

On white

5.14
#317D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#317D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317D23
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317D23#FFFFFF#000000##FFFFFF
##317D231.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#776B2C
Tritanopia (blue-blind)
#26796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317d23;
/* rgb */ color: rgb(49, 125, 35);
/* oklch */ color: oklch(52.3% 0.145 140.8);
Tailwind
colors: {
  custom: {
    50: '#72a363',
    500: '#317d23',
    950: '#000000',
  },
}
SCSS
$custom: #317d23;
$custom-light: #72a363;
$custom-dark: #000000;
JSON
{
  "hex": "#317d23",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 110.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.14537,
    "h": 140.8
  },
  "luminance": 0.15442
}

Semantic roles & 50–950 ramp

primary
#317D23
secondary
#A04CAF
accent
#48E0C8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #317D23

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

Preview Lab → · Contrast checker → · Palette generator →

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