#1F7D4C#1F7D4C

#1F7D4C is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.4% C 0.115 H 155.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1F7D4C
RGBrgb(31, 125, 76)
HSLhsl(149, 60%, 31%)
HSVhsv(149, 75%, 49%)
CMYKcmyk(75.2%, 0%, 39.2%, 51%)
CIE-LABlab(46.28, -38.87, 19.18)
CIE-LCHlch(46.28, 43.35, 153.73°)
OKLaboklab(52.36% -0.105 0.048)
OKLCHoklch(52.36% 0.115 155.4)
XYZxyz(9.2023, 15.4793, 9.3389)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D4C #7D1F50
analogous
#217D1F #1F7D4C #1F7D7B
triadic
#1F7D4C #4C1F7D #7D4C1F
tetradic
#1F7D4C #1F217D #7D1F50 #7D7B1F
square
#1F7D4C #1F217D #7D1F50 #7D7B1F
split-complementary
#1F7D4C #7B1F7D #7D1F21
monochromatic
#071B10 #134C2E #1F7D4C #2BAE6A #45D188

Accessibility & contrast

On white

5.13
#1F7D4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1F7D4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D4C
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D4C#FFFFFF#000000##FFFFFF
##1F7D4C1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7349
Deuteranopia (green-blind)
#716A4F
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7d4c;
/* rgb */ color: rgb(31, 125, 76);
/* oklch */ color: oklch(52.4% 0.115 155.4);
Tailwind
colors: {
  custom: {
    50: '#69a37e',
    500: '#1f7d4c',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d4c;
$custom-light: #69a37e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d4c",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 76
  },
  "hsl": {
    "h": 148.723,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52362,
    "c": 0.11545,
    "h": 155.4
  },
  "luminance": 0.1548
}

Semantic roles & 50–950 ramp

primary
#1F7D4C
secondary
#B0487E
accent
#4497E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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