#317822#317822

#317822 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.140 H 140.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#317822
RGBrgb(49, 120, 34)
HSLhsl(110, 56%, 30%)
HSVhsv(110, 72%, 47%)
CMYKcmyk(59.2%, 0%, 71.7%, 52.9%)
CIE-LABlab(44.52, -39.29, 38.88)
CIE-LCHlch(44.52, 55.27, 135.30°)
OKLaboklab(50.87% -0.1076 0.0889)
OKLCHoklch(50.87% 0.14 140.4)
XYZxyz(8.2715, 14.2007, 3.8182)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317822 #692278
analogous
#5C7822 #317822 #22783E
triadic
#317822 #223178 #782231
tetradic
#317822 #225C78 #692278 #783E22
square
#317822 #225C78 #692278 #783E22
split-complementary
#317822 #3E2278 #78225C
monochromatic
#0A1907 #1E4814 #317822 #44A830 #60CB49

Accessibility & contrast

On white

5.47
#317822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#317822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317822
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317822#FFFFFF#000000##FFFFFF
##3178221.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D15
Deuteranopia (green-blind)
#72672A
Tritanopia (blue-blind)
#287467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #317822;
/* rgb */ color: rgb(49, 120, 34);
/* oklch */ color: oklch(50.9% 0.140 140.4);
Tailwind
colors: {
  custom: {
    50: '#72a062',
    500: '#317822',
    950: '#000000',
  },
}
SCSS
$custom: #317822;
$custom-light: #72a062;
$custom-dark: #000000;
JSON
{
  "hex": "#317822",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 109.535,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.13958,
    "h": 140.4
  },
  "luminance": 0.14201
}

Semantic roles & 50–950 ramp

primary
#317822
secondary
#9A4BAB
accent
#49DFC5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F05
muted
#7B7E7A

Preview Lab

Preview with #317822

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

Preview Lab → · Contrast checker → · Palette generator →

#317822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva