#1F7431#1F7431

#1F7431 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.129 H 146.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#1F7431
RGBrgb(31, 116, 49)
HSLhsl(133, 58%, 29%)
HSVhsv(133, 73%, 45%)
CMYKcmyk(73.3%, 0%, 57.8%, 54.5%)
CIE-LABlab(42.77, -40.15, 29.58)
CIE-LCHlch(42.77, 49.87, 143.62°)
OKLaboklab(49.32% -0.1082 0.0706)
OKLCHoklch(49.32% 0.129 146.9)
XYZxyz(7.3643, 13.0030, 5.0269)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7431 #741F62
analogous
#38741F #1F7431 #1F745C
triadic
#1F7431 #311F74 #74311F
tetradic
#1F7431 #1F3874 #741F62 #745C1F
square
#1F7431 #1F3874 #741F62 #745C1F
split-complementary
#1F7431 #5C1F74 #741F38
monochromatic
#06180A #12441D #1F7431 #2CA445 #41CC5F

Accessibility & contrast

On white

5.83
#1F7431 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#1F7431 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7431
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7431#FFFFFF#000000##FFFFFF
##1F74311.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76692B
Deuteranopia (green-blind)
#6B6236
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7431;
/* rgb */ color: rgb(31, 116, 49);
/* oklch */ color: oklch(49.3% 0.129 146.9);
Tailwind
colors: {
  custom: {
    50: '#689d6b',
    500: '#1f7431',
    950: '#000000',
  },
}
SCSS
$custom: #1f7431;
$custom-light: #689d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7431",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 49
  },
  "hsl": {
    "h": 132.706,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4932,
    "c": 0.12925,
    "h": 146.9
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#1F7431
secondary
#A84793
accent
#47C0E1
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1F7431

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

Preview Lab → · Contrast checker → · Palette generator →

#1F7431 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva