#317232#317232

#317232 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.118 H 143.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#317232
RGBrgb(49, 114, 50)
HSLhsl(121, 40%, 32%)
HSVhsv(121, 57%, 45%)
CMYKcmyk(57%, 0%, 56.1%, 55.3%)
CIE-LABlab(42.64, -34.92, 29.02)
CIE-LCHlch(42.64, 45.41, 140.27°)
OKLaboklab(49.37% -0.0949 0.0694)
OKLCHoklch(49.37% 0.118 143.8)
XYZxyz(7.8592, 12.9172, 5.0961)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317232 #723171
analogous
#517231 #317232 #317253
triadic
#317232 #323172 #723231
tetradic
#317232 #315172 #723171 #725331
square
#317232 #315172 #723171 #725331
split-complementary
#317232 #533172 #723151
monochromatic
#0C1C0C #1F471F #317232 #439D45 #62BB63

Accessibility & contrast

On white

5.86
#317232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#317232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317232
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317232#FFFFFF#000000##FFFFFF
##3172321.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682C
Deuteranopia (green-blind)
#6C6237
Tritanopia (blue-blind)
#276F64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #317232;
/* rgb */ color: rgb(49, 114, 50);
/* oklch */ color: oklch(49.4% 0.118 143.8);
Tailwind
colors: {
  custom: {
    50: '#709b6c',
    500: '#317232',
    950: '#000000',
  },
}
SCSS
$custom: #317232;
$custom-light: #709b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#317232",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 120.923,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49372,
    "c": 0.11757,
    "h": 143.8
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#317232
secondary
#A35CA2
accent
#58CED0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #317232

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

Preview Lab → · Contrast checker → · Palette generator →

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