#317228#317228

#317228 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.2% C 0.127 H 141.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#317228
RGBrgb(49, 114, 40)
HSLhsl(113, 48%, 30%)
HSVhsv(113, 65%, 45%)
CMYKcmyk(57%, 0%, 64.9%, 55.3%)
CIE-LABlab(42.52, -36.21, 33.96)
CIE-LCHlch(42.52, 49.65, 136.83°)
OKLaboklab(49.24% -0.0989 0.0792)
OKLCHoklch(49.24% 0.127 141.3)
XYZxyz(7.6666, 12.8402, 4.0815)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317228 #692872
analogous
#567228 #317228 #287244
triadic
#317228 #283172 #722831
tetradic
#317228 #285672 #692872 #724428
square
#317228 #285672 #692872 #724428
split-complementary
#317228 #442872 #722856
monochromatic
#0A1708 #1E4518 #317228 #449F38 #60C252

Accessibility & contrast

On white

5.89
#317228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#317228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317228
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317228#FFFFFF#000000##FFFFFF
##3172281.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756820
Deuteranopia (green-blind)
#6C622E
Tritanopia (blue-blind)
#296E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317228;
/* rgb */ color: rgb(49, 114, 40);
/* oklch */ color: oklch(49.2% 0.127 141.3);
Tailwind
colors: {
  custom: {
    50: '#709b65',
    500: '#317228',
    950: '#000000',
  },
}
SCSS
$custom: #317228;
$custom-light: #709b65;
$custom-dark: #000000;
JSON
{
  "hex": "#317228",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 112.703,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49238,
    "c": 0.12673,
    "h": 141.3
  },
  "luminance": 0.12841
}

Semantic roles & 50–950 ramp

primary
#317228
secondary
#9A52A4
accent
#50D8C7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #317228

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

Preview Lab → · Contrast checker → · Palette generator →

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