#31602A#31602A

#31602A is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.2% C 0.098 H 141.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#31602A
RGBrgb(49, 96, 42)
HSLhsl(112, 39%, 27%)
HSVhsv(112, 56%, 38%)
CMYKcmyk(49%, 0%, 56.3%, 62.4%)
CIE-LABlab(36.34, -27.99, 25.73)
CIE-LCHlch(36.34, 38.02, 137.41°)
OKLaboklab(44.17% -0.0765 0.0616)
OKLCHoklch(44.17% 0.098 141.2)
XYZxyz(5.8672, 9.1855, 3.6539)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31602A #592A60
analogous
#4C602A #31602A #2A603E
triadic
#31602A #2A3160 #602A31
tetradic
#31602A #2A4C60 #592A60 #603E2A
square
#31602A #2A4C60 #592A60 #603E2A
split-complementary
#31602A #3E2A60 #602A4C
monochromatic
#0B1509 #1B3517 #31602A #478B3D #5EB351

Accessibility & contrast

On white

7.40
#31602A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#31602A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31602A
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31602A#FFFFFF#000000##FFFFFF
##31602A1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625825
Deuteranopia (green-blind)
#5C542E
Tritanopia (blue-blind)
#2C5D54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #31602a;
/* rgb */ color: rgb(49, 96, 42);
/* oklch */ color: oklch(44.2% 0.098 141.2);
Tailwind
colors: {
  custom: {
    50: '#6d8d65',
    500: '#31602a',
    950: '#000000',
  },
}
SCSS
$custom: #31602a;
$custom-light: #6d8d65;
$custom-dark: #000000;
JSON
{
  "hex": "#31602a",
  "rgb": {
    "r": 49,
    "g": 96,
    "b": 42
  },
  "hsl": {
    "h": 112.222,
    "s": 39.13,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44169,
    "c": 0.09818,
    "h": 141.2
  },
  "luminance": 0.09186
}

Semantic roles & 50–950 ramp

primary
#31602A
secondary
#8A5392
accent
#59CFC0
background
#F6F8F6
surface
#ECF0EB
border
#C7CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #31602A

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

Preview Lab → · Contrast checker → · Palette generator →

#31602A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva