#31921F#31921F

#31921F is a mid, vivid green. Relative luminance 0.213; OKLCH L 58.1% C 0.174 H 140.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#31921F
RGBrgb(49, 146, 31)
HSLhsl(111, 65%, 35%)
HSVhsv(111, 79%, 57%)
CMYKcmyk(66.4%, 0%, 78.8%, 42.7%)
CIE-LABlab(53.29, -49.27, 48.87)
CIE-LCHlch(53.29, 69.39, 135.23°)
OKLaboklab(58.11% -0.1347 0.1093)
OKLCHoklch(58.11% 0.174 140.9)
XYZxyz(11.7922, 21.3085, 4.7876)
Luminance0.2131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31921F #801F92
analogous
#6A921F #31921F #1F9247
triadic
#31921F #1F3192 #921F31
tetradic
#31921F #1F6A92 #801F92 #92471F
square
#31921F #1F6A92 #801F92 #92471F
split-complementary
#31921F #471F92 #921F6A
monochromatic
#0F2D0A #206014 #31921F #42C42A #67DA51

Accessibility & contrast

On white

3.99
#31921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#31921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31921F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31921F#FFFFFF#000000##000000
##31921F1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#1F8D7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #31921f;
/* rgb */ color: rgb(49, 146, 31);
/* oklch */ color: oklch(58.1% 0.174 140.9);
Tailwind
colors: {
  custom: {
    50: '#77b364',
    500: '#31921f',
    950: '#000000',
  },
}
SCSS
$custom: #31921f;
$custom-light: #77b364;
$custom-dark: #000000;
JSON
{
  "hex": "#31921f",
  "rgb": {
    "r": 49,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 110.609,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.17352,
    "h": 140.9
  },
  "luminance": 0.2131
}

Semantic roles & 50–950 ramp

primary
#31921F
secondary
#AC50BD
accent
#40E8CE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31921F

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

Preview Lab → · Contrast checker → · Palette generator →

#31921F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva