#31362E#31362E

#31362E is a dark, near-neutral yellow-green. Relative luminance 0.035; OKLCH L 32.5% C 0.015 H 133.6°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#31362E
RGBrgb(49, 54, 46)
HSLhsl(98, 8%, 20%)
HSVhsv(98, 15%, 21%)
CMYKcmyk(9.3%, 0%, 14.8%, 78.8%)
CIE-LABlab(21.90, -3.99, 4.31)
CIE-LCHlch(21.90, 5.87, 132.78°)
OKLaboklab(32.53% -0.0106 0.0112)
OKLCHoklch(32.53% 0.015 133.6)
XYZxyz(3.0788, 3.4885, 3.0954)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31362E #332E36
analogous
#35362E #31362E #2E362F
triadic
#31362E #2E3136 #362E31
tetradic
#31362E #2E3536 #332E36 #362F2E
square
#31362E #2E3536 #332E36 #362F2E
split-complementary
#31362E #2F2E36 #362E35
monochromatic
#0F110E #131512 #31362E #4F574A #6D7866

Accessibility & contrast

On white

12.37
#31362E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#31362E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31362E
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31362E#FFFFFF#000000##FFFFFF
##31362E1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352E
Deuteranopia (green-blind)
#36342E
Tritanopia (blue-blind)
#313534
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #31362e;
/* rgb */ color: rgb(49, 54, 46);
/* oklch */ color: oklch(32.5% 0.015 133.6);
Tailwind
colors: {
  custom: {
    50: '#696d66',
    500: '#31362e',
    950: '#000000',
  },
}
SCSS
$custom: #31362e;
$custom-light: #696d66;
$custom-dark: #000000;
JSON
{
  "hex": "#31362e",
  "rgb": {
    "r": 49,
    "g": 54,
    "b": 46
  },
  "hsl": {
    "h": 97.5,
    "s": 8,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3253,
    "c": 0.01544,
    "h": 133.6
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#31362E
secondary
#615B65
accent
#77B19B
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#060706
muted
#7A7A7A

Preview Lab

Preview with #31362E

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

Preview Lab → · Contrast checker → · Palette generator →

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