#31942E#31942E

#31942E is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.8% C 0.167 H 142.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#31942E
RGBrgb(49, 148, 46)
HSLhsl(118, 53%, 38%)
HSVhsv(118, 69%, 58%)
CMYKcmyk(66.9%, 0%, 68.9%, 42%)
CIE-LABlab(54.06, -48.73, 43.91)
CIE-LCHlch(54.06, 65.59, 137.98°)
OKLaboklab(58.78% -0.1325 0.101)
OKLCHoklch(58.78% 0.167 142.7)
XYZxyz(12.3490, 22.0288, 6.1854)
Luminance0.2203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31942E #912E94
analogous
#64942E #31942E #2E945E
triadic
#31942E #2E3194 #942E31
tetradic
#31942E #2E6494 #912E94 #945E2E
square
#31942E #2E6494 #912E94 #945E2E
split-complementary
#31942E #5E2E94 #942E64
monochromatic
#123711 #22651F #31942E #41C33D #6ED16B

Accessibility & contrast

On white

3.88
#31942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#31942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31942E
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31942E#FFFFFF#000000##000000
##31942E1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978620
Deuteranopia (green-blind)
#8B7E37
Tritanopia (blue-blind)
#1B907F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #31942e;
/* rgb */ color: rgb(49, 148, 46);
/* oklch */ color: oklch(58.8% 0.167 142.7);
Tailwind
colors: {
  custom: {
    50: '#77b46c',
    500: '#31942e',
    950: '#000000',
  },
}
SCSS
$custom: #31942e;
$custom-light: #77b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#31942e",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 118.235,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58782,
    "c": 0.16657,
    "h": 142.7
  },
  "luminance": 0.2203
}

Semantic roles & 50–950 ramp

primary
#31942E
secondary
#B666B8
accent
#4CDCD8
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #31942E

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

Preview Lab → · Contrast checker → · Palette generator →

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