#31931C#31931C

#31931C is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.4% C 0.176 H 140.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#31931C
RGBrgb(49, 147, 28)
HSLhsl(109, 68%, 34%)
HSVhsv(109, 81%, 58%)
CMYKcmyk(66.7%, 0%, 81%, 42.4%)
CIE-LABlab(53.60, -49.81, 50.14)
CIE-LCHlch(53.60, 70.68, 134.81°)
OKLaboklab(58.37% -0.1364 0.1116)
OKLCHoklch(58.37% 0.176 140.7)
XYZxyz(11.9093, 21.6030, 4.6406)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31931C #7E1C93
analogous
#6D931C #31931C #1C9343
triadic
#31931C #1C3193 #931C31
tetradic
#31931C #1C6D93 #7E1C93 #93431C
square
#31931C #1C6D93 #7E1C93 #93431C
split-complementary
#31931C #431C93 #931C6D
monochromatic
#0F2C08 #206012 #31931C #42C626 #66DD4C

Accessibility & contrast

On white

3.95
#31931C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#31931C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31931C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31931C#FFFFFF#000000##000000
##31931C1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#208E7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #31931c;
/* rgb */ color: rgb(49, 147, 28);
/* oklch */ color: oklch(58.4% 0.176 140.7);
Tailwind
colors: {
  custom: {
    50: '#77b463',
    500: '#31931c',
    950: '#000000',
  },
}
SCSS
$custom: #31931c;
$custom-light: #77b463;
$custom-dark: #000000;
JSON
{
  "hex": "#31931c",
  "rgb": {
    "r": 49,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 109.412,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58367,
    "c": 0.17619,
    "h": 140.7
  },
  "luminance": 0.21604
}

Semantic roles & 50–950 ramp

primary
#31931C
secondary
#AB4CBF
accent
#3DEBCC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31931C

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

Preview Lab → · Contrast checker → · Palette generator →

#31931C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva