#31761D#31761D

#31761D is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.3% C 0.140 H 139.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#31761D
RGBrgb(49, 118, 29)
HSLhsl(107, 61%, 29%)
HSVhsv(107, 75%, 46%)
CMYKcmyk(58.5%, 0%, 75.4%, 53.7%)
CIE-LABlab(43.80, -38.93, 40.20)
CIE-LCHlch(43.80, 55.96, 134.08°)
OKLaboklab(50.26% -0.107 0.0909)
OKLCHoklch(50.26% 0.14 139.6)
XYZxyz(7.9665, 13.6979, 3.3863)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31761D #621D76
analogous
#5E761D #31761D #1D7636
triadic
#31761D #1D3176 #761D31
tetradic
#31761D #1D5E76 #621D76 #76361D
square
#31761D #1D5E76 #621D76 #76361D
split-complementary
#31761D #361D76 #761D5E
monochromatic
#0A1906 #1D4511 #31761D #45A729 #5FD03E

Accessibility & contrast

On white

5.62
#31761D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#31761D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31761D
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31761D#FFFFFF#000000##FFFFFF
##31761D1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0D
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#297265
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #31761d;
/* rgb */ color: rgb(49, 118, 29);
/* oklch */ color: oklch(50.3% 0.140 139.6);
Tailwind
colors: {
  custom: {
    50: '#719e5f',
    500: '#31761d',
    950: '#000000',
  },
}
SCSS
$custom: #31761d;
$custom-light: #719e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#31761d",
  "rgb": {
    "r": 49,
    "g": 118,
    "b": 29
  },
  "hsl": {
    "h": 106.517,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.14041,
    "h": 139.6
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#31761D
secondary
#9345AA
accent
#44E4C0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #31761D

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

Preview Lab → · Contrast checker → · Palette generator →

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