#31941C#31941C

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

Color values

HEX#31941C
RGBrgb(49, 148, 28)
HSLhsl(110, 68%, 35%)
HSVhsv(110, 81%, 58%)
CMYKcmyk(66.9%, 0%, 81.1%, 42%)
CIE-LABlab(53.94, -50.16, 50.46)
CIE-LCHlch(53.94, 71.15, 134.83°)
OKLaboklab(58.64% -0.1373 0.1122)
OKLCHoklch(58.64% 0.177 140.7)
XYZxyz(12.0655, 21.9154, 4.6926)
Luminance0.2192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31941C #7F1C94
analogous
#6D941C #31941C #1C9443
triadic
#31941C #1C3194 #941C31
tetradic
#31941C #1C6D94 #7F1C94 #94431C
square
#31941C #1C6D94 #7F1C94 #94431C
split-complementary
#31941C #431C94 #941C6D
monochromatic
#0F2D09 #206112 #31941C #42C726 #66DD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31941C#FFFFFF#000000##000000
##31941C1.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)
#8C7E2A
Tritanopia (blue-blind)
#1F8F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #31941c;
/* rgb */ color: rgb(49, 148, 28);
/* oklch */ color: oklch(58.6% 0.177 140.7);
Tailwind
colors: {
  custom: {
    50: '#78b463',
    500: '#31941c',
    950: '#000000',
  },
}
SCSS
$custom: #31941c;
$custom-light: #78b463;
$custom-dark: #000000;
JSON
{
  "hex": "#31941c",
  "rgb": {
    "r": 49,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 109.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58643,
    "c": 0.17734,
    "h": 140.7
  },
  "luminance": 0.21917
}

Semantic roles & 50–950 ramp

primary
#31941C
secondary
#AB4CC0
accent
#3DEBCD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31941C

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

Preview Lab → · Contrast checker → · Palette generator →

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