#31841E#31841E

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

Color values

HEX#31841E
RGBrgb(49, 132, 30)
HSLhsl(109, 63%, 32%)
HSVhsv(109, 77%, 52%)
CMYKcmyk(62.9%, 0%, 77.3%, 48.2%)
CIE-LABlab(48.57, -44.25, 44.60)
CIE-LCHlch(48.57, 62.83, 134.77°)
OKLaboklab(54.2% -0.1213 0.1003)
OKLCHoklch(54.2% 0.157 140.4)
XYZxyz(9.7518, 17.2483, 4.0434)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31841E #711E84
analogous
#64841E #31841E #1E843E
triadic
#31841E #1E3184 #841E31
tetradic
#31841E #1E6484 #711E84 #843E1E
square
#31841E #1E6484 #711E84 #843E1E
split-complementary
#31841E #3E1E84 #841E64
monochromatic
#0C2007 #1E5213 #31841E #44B629 #62D547

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31841E#FFFFFF#000000##FFFFFF
##31841E1.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)
#887808
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#258071
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #31841e;
/* rgb */ color: rgb(49, 132, 30);
/* oklch */ color: oklch(54.2% 0.157 140.4);
Tailwind
colors: {
  custom: {
    50: '#74a962',
    500: '#31841e',
    950: '#000000',
  },
}
SCSS
$custom: #31841e;
$custom-light: #74a962;
$custom-dark: #000000;
JSON
{
  "hex": "#31841e",
  "rgb": {
    "r": 49,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 108.824,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54204,
    "c": 0.15737,
    "h": 140.4
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#31841E
secondary
#A247B7
accent
#42E6C7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #31841E

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

Preview Lab → · Contrast checker → · Palette generator →

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