#31841D#31841D

#31841D is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.158 H 140.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#31841D
RGBrgb(49, 132, 29)
HSLhsl(108, 64%, 32%)
HSVhsv(108, 78%, 52%)
CMYKcmyk(62.9%, 0%, 78%, 48.2%)
CIE-LABlab(48.57, -44.33, 44.96)
CIE-LCHlch(48.57, 63.14, 134.59°)
OKLaboklab(54.2% -0.1215 0.1009)
OKLCHoklch(54.2% 0.158 140.3)
XYZxyz(9.7392, 17.2433, 3.9772)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31841D #701D84
analogous
#65841D #31841D #1D843D
triadic
#31841D #1D3184 #841D31
tetradic
#31841D #1D6584 #701D84 #843D1D
square
#31841D #1D6584 #701D84 #843D1D
split-complementary
#31841D #3D1D84 #841D65
monochromatic
#0C2007 #1E5212 #31841D #44B628 #61D645

Accessibility & contrast

On white

4.72
#31841D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#31841D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31841D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31841D#FFFFFF#000000##FFFFFF
##31841D1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887806
Deuteranopia (green-blind)
#7E7128
Tritanopia (blue-blind)
#258070
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #31841d;
/* rgb */ color: rgb(49, 132, 29);
/* oklch */ color: oklch(54.2% 0.158 140.3);
Tailwind
colors: {
  custom: {
    50: '#74a961',
    500: '#31841d',
    950: '#000000',
  },
}
SCSS
$custom: #31841d;
$custom-light: #74a961;
$custom-dark: #000000;
JSON
{
  "hex": "#31841d",
  "rgb": {
    "r": 49,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 108.35,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.15795,
    "h": 140.3
  },
  "luminance": 0.17244
}

Semantic roles & 50–950 ramp

primary
#31841D
secondary
#A146B7
accent
#41E7C7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #31841D

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

Preview Lab → · Contrast checker → · Palette generator →

#31841D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva