#31992C#31992C

#31992C is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.1% C 0.174 H 142.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#31992C
RGBrgb(49, 153, 44)
HSLhsl(117, 55%, 39%)
HSVhsv(117, 71%, 60%)
CMYKcmyk(68%, 0%, 71.2%, 40%)
CIE-LABlab(55.70, -50.71, 46.47)
CIE-LCHlch(55.70, 68.78, 137.49°)
OKLaboklab(60.14% -0.1379 0.1061)
OKLCHoklch(60.14% 0.174 142.4)
XYZxyz(13.1117, 23.6159, 6.2497)
Luminance0.2362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31992C #942C99
analogous
#67992C #31992C #2C995D
triadic
#31992C #2C3199 #992C31
tetradic
#31992C #2C6799 #942C99 #995D2C
square
#31992C #2C6799 #942C99 #995D2C
split-complementary
#31992C #5D2C99 #992C67
monochromatic
#133A11 #22691E #31992C #42C73B #70D46B

Accessibility & contrast

On white

3.67
#31992C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#31992C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31992C
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31992C#FFFFFF#000000##000000
##31992C1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B1B
Deuteranopia (green-blind)
#908237
Tritanopia (blue-blind)
#199483
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #31992c;
/* rgb */ color: rgb(49, 153, 44);
/* oklch */ color: oklch(60.1% 0.174 142.4);
Tailwind
colors: {
  custom: {
    50: '#78b86b',
    500: '#31992c',
    950: '#000000',
  },
}
SCSS
$custom: #31992c;
$custom-light: #78b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#31992c",
  "rgb": {
    "r": 49,
    "g": 153,
    "b": 44
  },
  "hsl": {
    "h": 117.248,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.60138,
    "c": 0.17403,
    "h": 142.4
  },
  "luminance": 0.23617
}

Semantic roles & 50–950 ramp

primary
#31992C
secondary
#B766BB
accent
#49DFD8
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #31992C

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

Preview Lab → · Contrast checker → · Palette generator →

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