#1F7D4B#1F7D4B

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

Color values

HEX#1F7D4B
RGBrgb(31, 125, 75)
HSLhsl(148, 60%, 31%)
HSVhsv(148, 75%, 49%)
CMYKcmyk(75.2%, 0%, 40%, 51%)
CIE-LABlab(46.27, -39.08, 19.73)
CIE-LCHlch(46.27, 43.78, 153.21°)
OKLaboklab(52.34% -0.1055 0.0493)
OKLCHoklch(52.34% 0.116 155)
XYZxyz(9.1678, 15.4655, 9.1572)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D4B #7D1F51
analogous
#227D1F #1F7D4B #1F7D7A
triadic
#1F7D4B #4B1F7D #7D4B1F
tetradic
#1F7D4B #1F227D #7D1F51 #7D7A1F
square
#1F7D4B #1F227D #7D1F51 #7D7A1F
split-complementary
#1F7D4B #7A1F7D #7D1F22
monochromatic
#071B10 #134C2E #1F7D4B #2BAE68 #45D187

Accessibility & contrast

On white

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

On black

4.09
#1F7D4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F7D4B#FFFFFF#000000##FFFFFF
##1F7D4B1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7248
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7d4b;
/* rgb */ color: rgb(31, 125, 75);
/* oklch */ color: oklch(52.3% 0.116 155.0);
Tailwind
colors: {
  custom: {
    50: '#69a37d',
    500: '#1f7d4b',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d4b;
$custom-light: #69a37d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d4b",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 75
  },
  "hsl": {
    "h": 148.085,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52341,
    "c": 0.11643,
    "h": 155
  },
  "luminance": 0.15467
}

Semantic roles & 50–950 ramp

primary
#1F7D4B
secondary
#B0487F
accent
#4499E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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