#1F7D4D#1F7D4D

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

Color values

HEX#1F7D4D
RGBrgb(31, 125, 77)
HSLhsl(149, 60%, 31%)
HSVhsv(149, 75%, 49%)
CMYKcmyk(75.2%, 0%, 38.4%, 51%)
CIE-LABlab(46.30, -38.66, 18.64)
CIE-LCHlch(46.30, 42.92, 154.26°)
OKLaboklab(52.38% -0.1045 0.0467)
OKLCHoklch(52.38% 0.114 155.9)
XYZxyz(9.2374, 15.4933, 9.5234)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D4D #7D1F4F
analogous
#207D1F #1F7D4D #1F7D7C
triadic
#1F7D4D #4D1F7D #7D4D1F
tetradic
#1F7D4D #1F207D #7D1F4F #7D7C1F
square
#1F7D4D #1F207D #7D1F4F #7D7C1F
split-complementary
#1F7D4D #7C1F7D #7D1F20
monochromatic
#071B11 #134C2F #1F7D4D #2BAE6B #45D18A

Accessibility & contrast

On white

5.12
#1F7D4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7D4D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D4D#FFFFFF#000000##FFFFFF
##1F7D4D1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7d4d;
/* rgb */ color: rgb(31, 125, 77);
/* oklch */ color: oklch(52.4% 0.114 155.9);
Tailwind
colors: {
  custom: {
    50: '#69a37f',
    500: '#1f7d4d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d4d;
$custom-light: #69a37f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d4d",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 77
  },
  "hsl": {
    "h": 149.362,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52384,
    "c": 0.11446,
    "h": 155.9
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#1F7D4D
secondary
#B0487D
accent
#4496E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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