#317B19#317B19

#317B19 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.149 H 139.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#317B19
RGBrgb(49, 123, 25)
HSLhsl(105, 66%, 29%)
HSVhsv(105, 80%, 48%)
CMYKcmyk(60.2%, 0%, 79.7%, 51.8%)
CIE-LABlab(45.48, -41.19, 43.37)
CIE-LCHlch(45.48, 59.81, 133.52°)
OKLaboklab(51.64% -0.1133 0.097)
OKLCHoklch(51.64% 0.149 139.5)
XYZxyz(8.5247, 14.8883, 3.3440)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B19 #63197B
analogous
#627B19 #317B19 #197B32
triadic
#317B19 #19317B #7B1931
tetradic
#317B19 #19627B #63197B #7B3219
square
#317B19 #19627B #63197B #7B3219
split-complementary
#317B19 #32197B #7B1962
monochromatic
#0A1905 #1D480F #317B19 #45AE23 #5FD738

Accessibility & contrast

On white

5.28
#317B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#317B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B19
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B19#FFFFFF#000000##FFFFFF
##317B191.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F02
Deuteranopia (green-blind)
#766924
Tritanopia (blue-blind)
#287769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317b19;
/* rgb */ color: rgb(49, 123, 25);
/* oklch */ color: oklch(51.6% 0.149 139.5);
Tailwind
colors: {
  custom: {
    50: '#73a25e',
    500: '#317b19',
    950: '#000000',
  },
}
SCSS
$custom: #317b19;
$custom-light: #73a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#317b19",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 105.306,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5164,
    "c": 0.14915,
    "h": 139.5
  },
  "luminance": 0.14889
}

Semantic roles & 50–950 ramp

primary
#317B19
secondary
#9440AF
accent
#3FE9BF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #317B19

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

Preview Lab → · Contrast checker → · Palette generator →

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