#31751D#31751D

#31751D is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.139 H 139.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#31751D
RGBrgb(49, 117, 29)
HSLhsl(106, 60%, 29%)
HSVhsv(106, 75%, 46%)
CMYKcmyk(58.1%, 0%, 75.2%, 54.1%)
CIE-LABlab(43.45, -38.53, 39.85)
CIE-LCHlch(43.45, 55.43, 134.03°)
OKLaboklab(49.98% -0.1059 0.0902)
OKLCHoklch(49.98% 0.139 139.6)
XYZxyz(7.8494, 13.4636, 3.3473)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31751D #611D75
analogous
#5D751D #31751D #1D7535
triadic
#31751D #1D3175 #751D31
tetradic
#31751D #1D5D75 #611D75 #75351D
square
#31751D #1D5D75 #611D75 #75351D
split-complementary
#31751D #351D75 #751D5D
monochromatic
#0A1906 #1C4411 #31751D #46A629 #5ECF3D

Accessibility & contrast

On white

5.69
#31751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#31751D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31751D
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31751D#FFFFFF#000000##FFFFFF
##31751D1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0E
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#2A7164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #31751d;
/* rgb */ color: rgb(49, 117, 29);
/* oklch */ color: oklch(50.0% 0.139 139.6);
Tailwind
colors: {
  custom: {
    50: '#719d5f',
    500: '#31751d',
    950: '#000000',
  },
}
SCSS
$custom: #31751d;
$custom-light: #719d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#31751d",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 106.364,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49975,
    "c": 0.13911,
    "h": 139.6
  },
  "luminance": 0.13464
}

Semantic roles & 50–950 ramp

primary
#31751D
secondary
#9245A9
accent
#44E3BF
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #31751D

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

Preview Lab → · Contrast checker → · Palette generator →

#31751D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva