#31941D#31941D

#31941D is a mid, vivid green. Relative luminance 0.219; OKLCH L 58.6% C 0.177 H 140.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#31941D
RGBrgb(49, 148, 29)
HSLhsl(110, 67%, 35%)
HSVhsv(110, 80%, 58%)
CMYKcmyk(66.9%, 0%, 80.4%, 42%)
CIE-LABlab(53.94, -50.10, 50.15)
CIE-LCHlch(53.94, 70.89, 134.97°)
OKLaboklab(58.65% -0.1371 0.1117)
OKLCHoklch(58.65% 0.177 140.8)
XYZxyz(12.0777, 21.9203, 4.7567)
Luminance0.2192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31941D #801D94
analogous
#6D941D #31941D #1D9445
triadic
#31941D #1D3194 #941D31
tetradic
#31941D #1D6D94 #801D94 #94451D
square
#31941D #1D6D94 #801D94 #94451D
split-complementary
#31941D #451D94 #941D6D
monochromatic
#0F2E09 #206113 #31941D #42C727 #67DC4F

Accessibility & contrast

On white

3.90
#31941D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#31941D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31941D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31941D#FFFFFF#000000##000000
##31941D1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#1F8F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #31941d;
/* rgb */ color: rgb(49, 148, 29);
/* oklch */ color: oklch(58.6% 0.177 140.8);
Tailwind
colors: {
  custom: {
    50: '#77b463',
    500: '#31941d',
    950: '#000000',
  },
}
SCSS
$custom: #31941d;
$custom-light: #77b463;
$custom-dark: #000000;
JSON
{
  "hex": "#31941d",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 109.916,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58649,
    "c": 0.17686,
    "h": 140.8
  },
  "luminance": 0.21921
}

Semantic roles & 50–950 ramp

primary
#31941D
secondary
#AC4EBF
accent
#3EEACD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31941D

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

Preview Lab → · Contrast checker → · Palette generator →

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