#31641B#31641B

#31641B is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.118 H 137.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#31641B
RGBrgb(49, 100, 27)
HSLhsl(102, 57%, 25%)
HSVhsv(102, 73%, 39%)
CMYKcmyk(51%, 0%, 73%, 60.8%)
CIE-LABlab(37.56, -31.56, 34.61)
CIE-LCHlch(37.56, 46.84, 132.36°)
OKLaboklab(45.12% -0.0872 0.079)
OKLCHoklch(45.12% 0.118 137.8)
XYZxyz(6.0214, 9.8460, 2.6199)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31641B #4E1B64
analogous
#55641B #31641B #1B642A
triadic
#31641B #1B3164 #641B31
tetradic
#31641B #1B5564 #4E1B64 #642A1B
square
#31641B #1B5564 #4E1B64 #642A1B
split-complementary
#31641B #2A1B64 #641B55
monochromatic
#0C1807 #19340E #31641B #499428 #60C435

Accessibility & contrast

On white

7.07
#31641B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#31641B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31641B
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31641B#FFFFFF#000000##FFFFFF
##31641B1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B10
Deuteranopia (green-blind)
#615722
Tritanopia (blue-blind)
#2E6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #31641b;
/* rgb */ color: rgb(49, 100, 27);
/* oklch */ color: oklch(45.1% 0.118 137.8);
Tailwind
colors: {
  custom: {
    50: '#6e905c',
    500: '#31641b',
    950: '#000000',
  },
}
SCSS
$custom: #31641b;
$custom-light: #6e905c;
$custom-dark: #000000;
JSON
{
  "hex": "#31641b",
  "rgb": {
    "r": 49,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 101.918,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45122,
    "c": 0.11764,
    "h": 137.8
  },
  "luminance": 0.09846
}

Semantic roles & 50–950 ramp

primary
#31641B
secondary
#7F4199
accent
#47E1B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #31641B

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

Preview Lab → · Contrast checker → · Palette generator →

#31641B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva