#317B23#317B23

#317B23 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.143 H 140.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#317B23
RGBrgb(49, 123, 35)
HSLhsl(110, 56%, 31%)
HSVhsv(110, 72%, 48%)
CMYKcmyk(60.2%, 0%, 71.5%, 51.8%)
CIE-LABlab(45.55, -40.38, 39.54)
CIE-LCHlch(45.55, 56.52, 135.60°)
OKLaboklab(51.72% -0.1105 0.0904)
OKLCHoklch(51.72% 0.143 140.7)
XYZxyz(8.6525, 14.9395, 4.0174)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B23 #6D237B
analogous
#5D7B23 #317B23 #237B41
triadic
#317B23 #23317B #7B2331
tetradic
#317B23 #235D7B #6D237B #7B4123
square
#317B23 #235D7B #6D237B #7B4123
split-complementary
#317B23 #41237B #7B235D
monochromatic
#0B1C08 #1E4B15 #317B23 #44AB31 #61CC4C

Accessibility & contrast

On white

5.27
#317B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#317B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B23
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B23#FFFFFF#000000##FFFFFF
##317B231.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7016
Deuteranopia (green-blind)
#75692B
Tritanopia (blue-blind)
#277769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b23;
/* rgb */ color: rgb(49, 123, 35);
/* oklch */ color: oklch(51.7% 0.143 140.7);
Tailwind
colors: {
  custom: {
    50: '#72a263',
    500: '#317b23',
    950: '#000000',
  },
}
SCSS
$custom: #317b23;
$custom-light: #72a263;
$custom-dark: #000000;
JSON
{
  "hex": "#317b23",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 110.455,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51721,
    "c": 0.14278,
    "h": 140.7
  },
  "luminance": 0.1494
}

Semantic roles & 50–950 ramp

primary
#317B23
secondary
#9E4CAE
accent
#49DFC7
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #317B23

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

Preview Lab → · Contrast checker → · Palette generator →

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