#31512E#31512E

#31512E is a dark, moderate green. Relative luminance 0.067; OKLCH L 40.0% C 0.069 H 142.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#31512E
RGBrgb(49, 81, 46)
HSLhsl(115, 28%, 25%)
HSVhsv(115, 43%, 32%)
CMYKcmyk(39.5%, 0%, 43.2%, 68.2%)
CIE-LABlab(31.20, -19.88, 16.96)
CIE-LCHlch(31.20, 26.13, 139.52°)
OKLaboklab(40% -0.0542 0.042)
OKLCHoklch(40% 0.069 142.3)
XYZxyz(4.7020, 6.7348, 3.6364)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31512E #4E2E51
analogous
#43512E #31512E #2E513D
triadic
#31512E #2E3151 #512E31
tetradic
#31512E #2E4351 #4E2E51 #513D2E
square
#31512E #2E4351 #4E2E51 #513D2E
split-complementary
#31512E #3D2E51 #512E43
monochromatic
#0C140B #192A18 #31512E #497844 #609F5A

Accessibility & contrast

On white

8.95
#31512E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#31512E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31512E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31512E#FFFFFF#000000##FFFFFF
##31512E1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B2B
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#2E4F48
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #31512e;
/* rgb */ color: rgb(49, 81, 46);
/* oklch */ color: oklch(40.0% 0.069 142.3);
Tailwind
colors: {
  custom: {
    50: '#6b8267',
    500: '#31512e',
    950: '#000000',
  },
}
SCSS
$custom: #31512e;
$custom-light: #6b8267;
$custom-dark: #000000;
JSON
{
  "hex": "#31512e",
  "rgb": {
    "r": 49,
    "g": 81,
    "b": 46
  },
  "hsl": {
    "h": 114.857,
    "s": 27.559,
    "l": 24.902
  },
  "oklch": {
    "l": 0.39996,
    "c": 0.06856,
    "h": 142.3
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#31512E
secondary
#7F5883
accent
#64C4BC
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #31512E

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

Preview Lab → · Contrast checker → · Palette generator →

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