#1F7331#1F7331

#1F7331 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.128 H 147.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1F7331
RGBrgb(31, 115, 49)
HSLhsl(133, 58%, 29%)
HSVhsv(133, 73%, 45%)
CMYKcmyk(73%, 0%, 57.4%, 54.9%)
CIE-LABlab(42.42, -39.77, 29.16)
CIE-LCHlch(42.42, 49.31, 143.75°)
OKLaboklab(49.03% -0.1072 0.0697)
OKLCHoklch(49.03% 0.128 147)
XYZxyz(7.2497, 12.7737, 4.9886)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7331 #731F61
analogous
#37731F #1F7331 #1F735B
triadic
#1F7331 #311F73 #73311F
tetradic
#1F7331 #1F3773 #731F61 #735B1F
square
#1F7331 #1F3773 #731F61 #735B1F
split-complementary
#1F7331 #5B1F73 #731F37
monochromatic
#06180A #12431C #1F7331 #2CA346 #41CC5E

Accessibility & contrast

On white

5.91
#1F7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#1F7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7331
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7331#FFFFFF#000000##FFFFFF
##1F73311.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682B
Deuteranopia (green-blind)
#6B6136
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7331;
/* rgb */ color: rgb(31, 115, 49);
/* oklch */ color: oklch(49.0% 0.128 147.0);
Tailwind
colors: {
  custom: {
    50: '#689c6b',
    500: '#1f7331',
    950: '#000000',
  },
}
SCSS
$custom: #1f7331;
$custom-light: #689c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7331",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 132.857,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49032,
    "c": 0.12788,
    "h": 147
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F7331

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

Preview Lab → · Contrast checker → · Palette generator →

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