#31742E#31742E

#31742E is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.9% C 0.124 H 142.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#31742E
RGBrgb(49, 116, 46)
HSLhsl(117, 43%, 32%)
HSVhsv(117, 60%, 45%)
CMYKcmyk(57.8%, 0%, 60.3%, 54.5%)
CIE-LABlab(43.27, -36.32, 31.85)
CIE-LCHlch(43.27, 48.30, 138.75°)
OKLaboklab(49.88% -0.0988 0.0753)
OKLCHoklch(49.88% 0.124 142.7)
XYZxyz(8.0047, 13.3403, 4.7374)
Luminance0.1334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31742E #712E74
analogous
#54742E #31742E #2E744E
triadic
#31742E #2E3174 #742E31
tetradic
#31742E #2E5474 #712E74 #744E2E
square
#31742E #2E5474 #712E74 #744E2E
split-complementary
#31742E #4E2E74 #742E54
monochromatic
#0C1C0B #1E481D #31742E #44A03F #62BF5D

Accessibility & contrast

On white

5.72
#31742E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#31742E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31742E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31742E#FFFFFF#000000##FFFFFF
##31742E1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A27
Deuteranopia (green-blind)
#6E6433
Tritanopia (blue-blind)
#277165
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #31742e;
/* rgb */ color: rgb(49, 116, 46);
/* oklch */ color: oklch(49.9% 0.124 142.7);
Tailwind
colors: {
  custom: {
    50: '#709d69',
    500: '#31742e',
    950: '#000000',
  },
}
SCSS
$custom: #31742e;
$custom-light: #709d69;
$custom-dark: #000000;
JSON
{
  "hex": "#31742e",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 46
  },
  "hsl": {
    "h": 117.429,
    "s": 43.21,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49877,
    "c": 0.12425,
    "h": 142.7
  },
  "luminance": 0.13341
}

Semantic roles & 50–950 ramp

primary
#31742E
secondary
#A259A5
accent
#55D3CE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #31742E

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

Preview Lab → · Contrast checker → · Palette generator →

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