#31642E#31642E

#31642E is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.4% C 0.100 H 142.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#31642E
RGBrgb(49, 100, 46)
HSLhsl(117, 37%, 29%)
HSVhsv(117, 54%, 39%)
CMYKcmyk(51%, 0%, 54%, 60.8%)
CIE-LABlab(37.78, -29.27, 25.28)
CIE-LCHlch(37.78, 38.68, 139.19°)
OKLaboklab(45.37% -0.0797 0.0609)
OKLCHoklch(45.37% 0.1 142.7)
XYZxyz(6.3166, 9.9641, 4.1747)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31642E #612E64
analogous
#4C642E #31642E #2E6446
triadic
#31642E #2E3164 #642E31
tetradic
#31642E #2E4C64 #612E64 #64462E
square
#31642E #2E4C64 #612E64 #64462E
split-complementary
#31642E #462E64 #642E4C
monochromatic
#0A150A #1C3A1B #31642E #468E41 #5EB35A

Accessibility & contrast

On white

7.02
#31642E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#31642E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31642E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31642E#FFFFFF#000000##FFFFFF
##31642E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C29
Deuteranopia (green-blind)
#5F5732
Tritanopia (blue-blind)
#2B6158
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #31642e;
/* rgb */ color: rgb(49, 100, 46);
/* oklch */ color: oklch(45.4% 0.100 142.7);
Tailwind
colors: {
  custom: {
    50: '#6d9068',
    500: '#31642e',
    950: '#000000',
  },
}
SCSS
$custom: #31642e;
$custom-light: #6d9068;
$custom-dark: #000000;
JSON
{
  "hex": "#31642e",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 46
  },
  "hsl": {
    "h": 116.667,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.45365,
    "c": 0.10032,
    "h": 142.7
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#31642E
secondary
#925896
accent
#5BCDC7
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C06
muted
#7A7D7A

Preview Lab

Preview with #31642E

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

Preview Lab → · Contrast checker → · Palette generator →

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