#317229#317229

#317229 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.3% C 0.126 H 141.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#317229
RGBrgb(49, 114, 41)
HSLhsl(113, 47%, 30%)
HSVhsv(113, 64%, 45%)
CMYKcmyk(57%, 0%, 64%, 55.3%)
CIE-LABlab(42.53, -36.10, 33.49)
CIE-LCHlch(42.53, 49.24, 137.14°)
OKLaboklab(49.25% -0.0985 0.0783)
OKLCHoklch(49.25% 0.126 141.5)
XYZxyz(7.6838, 12.8471, 4.1722)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317229 #6A2972
analogous
#557229 #317229 #297246
triadic
#317229 #293172 #722931
tetradic
#317229 #295572 #6A2972 #724629
square
#317229 #295572 #6A2972 #724629
split-complementary
#317229 #462972 #722955
monochromatic
#0A1809 #1E4519 #317229 #449F39 #60C154

Accessibility & contrast

On white

5.88
#317229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317229
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317229#FFFFFF#000000##FFFFFF
##3172291.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756821
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#286F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #317229;
/* rgb */ color: rgb(49, 114, 41);
/* oklch */ color: oklch(49.3% 0.126 141.5);
Tailwind
colors: {
  custom: {
    50: '#709b66',
    500: '#317229',
    950: '#000000',
  },
}
SCSS
$custom: #317229;
$custom-light: #709b66;
$custom-dark: #000000;
JSON
{
  "hex": "#317229",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 113.425,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4925,
    "c": 0.12587,
    "h": 141.5
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#317229
secondary
#9B53A4
accent
#51D7C8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #317229

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

Preview Lab → · Contrast checker → · Palette generator →

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