#31703E#31703E

#31703E is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.102 H 148.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#31703E
RGBrgb(49, 112, 62)
HSLhsl(132, 39%, 32%)
HSVhsv(132, 56%, 44%)
CMYKcmyk(56.3%, 0%, 44.6%, 56.1%)
CIE-LABlab(42.14, -32.11, 21.80)
CIE-LCHlch(42.14, 38.81, 145.83°)
OKLaboklab(49.02% -0.087 0.0538)
OKLCHoklch(49.02% 0.102 148.3)
XYZxyz(7.9298, 12.5884, 6.5684)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31703E #703163
analogous
#447031 #31703E #31705E
triadic
#31703E #3E3170 #703E31
tetradic
#31703E #314470 #703163 #705E31
square
#31703E #314470 #703163 #705E31
split-complementary
#31703E #5E3170 #703144
monochromatic
#0C1B0F #1E4526 #31703E #449B56 #61BA74

Accessibility & contrast

On white

5.97
#31703E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#31703E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31703E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31703E#FFFFFF#000000##FFFFFF
##31703E1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673A
Deuteranopia (green-blind)
#686141
Tritanopia (blue-blind)
#246E64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #31703e;
/* rgb */ color: rgb(49, 112, 62);
/* oklch */ color: oklch(49.0% 0.102 148.3);
Tailwind
colors: {
  custom: {
    50: '#6f9a74',
    500: '#31703e',
    950: '#000000',
  },
}
SCSS
$custom: #31703e;
$custom-light: #6f9a74;
$custom-dark: #000000;
JSON
{
  "hex": "#31703e",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 62
  },
  "hsl": {
    "h": 132.381,
    "s": 39.13,
    "l": 31.569
  },
  "oklch": {
    "l": 0.49018,
    "c": 0.10227,
    "h": 148.3
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#31703E
secondary
#A15C93
accent
#59B7CF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #31703E

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

Preview Lab → · Contrast checker → · Palette generator →

#31703E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva