#317B24#317B24

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

Color values

HEX#317B24
RGBrgb(49, 123, 36)
HSLhsl(111, 55%, 31%)
HSVhsv(111, 71%, 48%)
CMYKcmyk(60.2%, 0%, 70.7%, 51.8%)
CIE-LABlab(45.56, -40.29, 39.12)
CIE-LCHlch(45.56, 56.15, 135.84°)
OKLaboklab(51.73% -0.1102 0.0896)
OKLCHoklch(51.73% 0.142 140.9)
XYZxyz(8.6676, 14.9455, 4.0967)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B24 #6E247B
analogous
#5C7B24 #317B24 #247B42
triadic
#317B24 #24317B #7B2431
tetradic
#317B24 #245C7B #6E247B #7B4224
square
#317B24 #245C7B #6E247B #7B4224
split-complementary
#317B24 #42247B #7B245C
monochromatic
#0B1C08 #1E4C16 #317B24 #44AA32 #61CB4E

Accessibility & contrast

On white

5.26
#317B24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317B24
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B24#FFFFFF#000000##FFFFFF
##317B241.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #317b24;
/* rgb */ color: rgb(49, 123, 36);
/* oklch */ color: oklch(51.7% 0.142 140.9);
Tailwind
colors: {
  custom: {
    50: '#72a264',
    500: '#317b24',
    950: '#000000',
  },
}
SCSS
$custom: #317b24;
$custom-light: #72a264;
$custom-dark: #000000;
JSON
{
  "hex": "#317b24",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 111.034,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5173,
    "c": 0.14206,
    "h": 140.9
  },
  "luminance": 0.14946
}

Semantic roles & 50–950 ramp

primary
#317B24
secondary
#9F4DAD
accent
#4ADEC8
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #317B24

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

Preview Lab → · Contrast checker → · Palette generator →

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