#1F7832#1F7832

#1F7832 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.5% C 0.134 H 146.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1F7832
RGBrgb(31, 120, 50)
HSLhsl(133, 59%, 30%)
HSVhsv(133, 74%, 47%)
CMYKcmyk(74.2%, 0%, 58.3%, 52.9%)
CIE-LABlab(44.17, -41.53, 30.73)
CIE-LCHlch(44.17, 51.66, 143.50°)
OKLaboklab(50.48% -0.1119 0.0732)
OKLCHoklch(50.48% 0.134 146.8)
XYZxyz(7.8567, 13.9537, 5.2963)
Luminance0.1396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7832 #781F65
analogous
#39781F #1F7832 #1F785F
triadic
#1F7832 #321F78 #78321F
tetradic
#1F7832 #1F3978 #781F65 #785F1F
square
#1F7832 #1F3978 #781F65 #785F1F
split-complementary
#1F7832 #5F1F78 #781F39
monochromatic
#06180A #12471E #1F7832 #2CA946 #43CE61

Accessibility & contrast

On white

5.54
#1F7832 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#1F7832 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7832
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7832#FFFFFF#000000##FFFFFF
##1F78321.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D2B
Deuteranopia (green-blind)
#6F6637
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f7832;
/* rgb */ color: rgb(31, 120, 50);
/* oklch */ color: oklch(50.5% 0.134 146.8);
Tailwind
colors: {
  custom: {
    50: '#69a06c',
    500: '#1f7832',
    950: '#000000',
  },
}
SCSS
$custom: #1f7832;
$custom-light: #69a06c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7832",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 50
  },
  "hsl": {
    "h": 132.809,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50481,
    "c": 0.13376,
    "h": 146.8
  },
  "luminance": 0.13955
}

Semantic roles & 50–950 ramp

primary
#1F7832
secondary
#AB4796
accent
#46C1E2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F07
muted
#7A7E7A

Preview Lab

Preview with #1F7832

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

Preview Lab → · Contrast checker → · Palette generator →

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