#31402E#31402E

#31402E is a dark, muted green. Relative luminance 0.045; OKLCH L 35.2% C 0.036 H 140.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#31402E
RGBrgb(49, 64, 46)
HSLhsl(110, 16%, 22%)
HSVhsv(110, 28%, 25%)
CMYKcmyk(23.4%, 0%, 28.1%, 74.9%)
CIE-LABlab(25.31, -10.26, 9.08)
CIE-LCHlch(25.31, 13.70, 138.49°)
OKLaboklab(35.25% -0.0279 0.0231)
OKLCHoklch(35.25% 0.036 140.4)
XYZxyz(3.5930, 4.5169, 3.2668)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31402E #3D2E40
analogous
#3A402E #31402E #2E4034
triadic
#31402E #2E3140 #402E31
tetradic
#31402E #2E3A40 #3D2E40 #40342E
square
#31402E #2E3A40 #3D2E40 #40342E
split-complementary
#31402E #342E40 #402E3A
monochromatic
#0E120D #161C14 #31402E #4C6448 #688761

Accessibility & contrast

On white

11.03
#31402E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#31402E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31402E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31402E#FFFFFF#000000##FFFFFF
##31402E1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2D
Deuteranopia (green-blind)
#3F3B2F
Tritanopia (blue-blind)
#303F3B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #31402e;
/* rgb */ color: rgb(49, 64, 46);
/* oklch */ color: oklch(35.2% 0.036 140.4);
Tailwind
colors: {
  custom: {
    50: '#697466',
    500: '#31402e',
    950: '#000000',
  },
}
SCSS
$custom: #31402e;
$custom-light: #697466;
$custom-dark: #000000;
JSON
{
  "hex": "#31402e",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 46
  },
  "hsl": {
    "h": 110,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.35247,
    "c": 0.03624,
    "h": 140.4
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#31402E
secondary
#6D5970
accent
#6FB9AD
background
#F6F7F6
surface
#EBEDEB
border
#C6C8C6
text
#060806
muted
#7A7B7A

Preview Lab

Preview with #31402E

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

Preview Lab → · Contrast checker → · Palette generator →

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