#1F7241#1F7241

#1F7241 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.0% C 0.111 H 153.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#1F7241
RGBrgb(31, 114, 65)
HSLhsl(145, 57%, 28%)
HSVhsv(145, 73%, 45%)
CMYKcmyk(72.8%, 0%, 43%, 55.3%)
CIE-LABlab(42.32, -36.57, 20.22)
CIE-LCHlch(42.32, 41.79, 151.07°)
OKLaboklab(49.03% -0.0986 0.0502)
OKLCHoklch(49.03% 0.111 153)
XYZxyz(7.5359, 12.7068, 7.0555)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7241 #721F50
analogous
#27721F #1F7241 #1F726A
triadic
#1F7241 #411F72 #72411F
tetradic
#1F7241 #1F2772 #721F50 #726A1F
square
#1F7241 #1F2772 #721F50 #726A1F
split-complementary
#1F7241 #6A1F72 #721F27
monochromatic
#07180E #124226 #1F7241 #2CA25C #40CB79

Accessibility & contrast

On white

5.93
#1F7241 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#1F7241 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7241
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7241#FFFFFF#000000##FFFFFF
##1F72411.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683E
Deuteranopia (green-blind)
#686144
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7241;
/* rgb */ color: rgb(31, 114, 65);
/* oklch */ color: oklch(49.0% 0.111 153.0);
Tailwind
colors: {
  custom: {
    50: '#679b76',
    500: '#1f7241',
    950: '#000000',
  },
}
SCSS
$custom: #1f7241;
$custom-light: #679b76;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7241",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 65
  },
  "hsl": {
    "h": 144.578,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49027,
    "c": 0.11067,
    "h": 153
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#1F7241
secondary
#A6477F
accent
#47A2E0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #1F7241

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

Preview Lab → · Contrast checker → · Palette generator →

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