#1F7D48#1F7D48

#1F7D48 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.3% C 0.119 H 153.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#1F7D48
RGBrgb(31, 125, 72)
HSLhsl(146, 60%, 31%)
HSVhsv(146, 75%, 49%)
CMYKcmyk(75.2%, 0%, 42.4%, 51%)
CIE-LABlab(46.21, -39.69, 21.35)
CIE-LCHlch(46.21, 45.07, 151.72°)
OKLaboklab(52.28% -0.107 0.053)
OKLCHoklch(52.28% 0.119 153.6)
XYZxyz(9.0676, 15.4254, 8.6291)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D48 #7D1F54
analogous
#257D1F #1F7D48 #1F7D77
triadic
#1F7D48 #481F7D #7D481F
tetradic
#1F7D48 #1F257D #7D1F54 #7D771F
square
#1F7D48 #1F257D #7D1F54 #7D771F
split-complementary
#1F7D48 #771F7D #7D1F25
monochromatic
#071B10 #134C2C #1F7D48 #2BAE64 #45D182

Accessibility & contrast

On white

5.14
#1F7D48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7D48
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D48#FFFFFF#000000##FFFFFF
##1F7D481.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7244
Deuteranopia (green-blind)
#726A4C
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7d48;
/* rgb */ color: rgb(31, 125, 72);
/* oklch */ color: oklch(52.3% 0.119 153.6);
Tailwind
colors: {
  custom: {
    50: '#69a37b',
    500: '#1f7d48',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d48;
$custom-light: #69a37b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d48",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 72
  },
  "hsl": {
    "h": 146.17,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52278,
    "c": 0.11941,
    "h": 153.6
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#1F7D48
secondary
#B04883
accent
#449EE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7D48

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

Preview Lab → · Contrast checker → · Palette generator →

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