#317420#317420

#317420 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.136 H 139.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#317420
RGBrgb(49, 116, 32)
HSLhsl(108, 57%, 29%)
HSVhsv(108, 72%, 45%)
CMYKcmyk(57.8%, 0%, 72.4%, 54.5%)
CIE-LABlab(43.13, -37.86, 38.28)
CIE-LCHlch(43.13, 53.84, 134.68°)
OKLaboklab(49.72% -0.1039 0.0874)
OKLCHoklch(49.72% 0.136 139.9)
XYZxyz(7.7724, 13.2474, 3.5136)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317420 #632074
analogous
#5B7420 #317420 #207439
triadic
#317420 #203174 #742031
tetradic
#317420 #205B74 #632074 #743920
square
#317420 #205B74 #632074 #743920
split-complementary
#317420 #392074 #74205B
monochromatic
#0A1807 #1D4413 #317420 #45A42D #5FCB43

Accessibility & contrast

On white

5.75
#317420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#317420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317420
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317420#FFFFFF#000000##FFFFFF
##3174201.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#297063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #317420;
/* rgb */ color: rgb(49, 116, 32);
/* oklch */ color: oklch(49.7% 0.136 139.9);
Tailwind
colors: {
  custom: {
    50: '#719d61',
    500: '#317420',
    950: '#000000',
  },
}
SCSS
$custom: #317420;
$custom-light: #719d61;
$custom-dark: #000000;
JSON
{
  "hex": "#317420",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 107.857,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.13574,
    "h": 139.9
  },
  "luminance": 0.13248
}

Semantic roles & 50–950 ramp

primary
#317420
secondary
#9448A8
accent
#48E0C1
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #317420

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

Preview Lab → · Contrast checker → · Palette generator →

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