#31741E#31741E

#31741E is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.137 H 139.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#31741E
RGBrgb(49, 116, 30)
HSLhsl(107, 59%, 29%)
HSVhsv(107, 74%, 45%)
CMYKcmyk(57.8%, 0%, 74.1%, 54.5%)
CIE-LABlab(43.12, -38.04, 39.10)
CIE-LCHlch(43.12, 54.55, 134.21°)
OKLaboklab(49.7% -0.1045 0.0888)
OKLCHoklch(49.7% 0.137 139.7)
XYZxyz(7.7460, 13.2368, 3.3748)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31741E #611E74
analogous
#5C741E #31741E #1E7436
triadic
#31741E #1E3174 #741E31
tetradic
#31741E #1E5C74 #611E74 #74361E
square
#31741E #1E5C74 #611E74 #74361E
split-complementary
#31741E #361E74 #741E5C
monochromatic
#0A1806 #1C4311 #31741E #46A52B #5ECD3F

Accessibility & contrast

On white

5.76
#31741E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#31741E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31741E
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31741E#FFFFFF#000000##FFFFFF
##31741E1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776910
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#2A7063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #31741e;
/* rgb */ color: rgb(49, 116, 30);
/* oklch */ color: oklch(49.7% 0.137 139.7);
Tailwind
colors: {
  custom: {
    50: '#719d5f',
    500: '#31741e',
    950: '#000000',
  },
}
SCSS
$custom: #31741e;
$custom-light: #719d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#31741e",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 30
  },
  "hsl": {
    "h": 106.744,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49701,
    "c": 0.13714,
    "h": 139.7
  },
  "luminance": 0.13237
}

Semantic roles & 50–950 ramp

primary
#31741E
secondary
#9246A8
accent
#46E2C0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #31741E

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

Preview Lab → · Contrast checker → · Palette generator →

#31741E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva