#1F7D46#1F7D46

#1F7D46 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.121 H 152.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#1F7D46
RGBrgb(31, 125, 70)
HSLhsl(145, 60%, 31%)
HSVhsv(145, 75%, 49%)
CMYKcmyk(75.2%, 0%, 44%, 51%)
CIE-LABlab(46.18, -40.08, 22.43)
CIE-LCHlch(46.18, 45.93, 150.77°)
OKLaboklab(52.24% -0.1079 0.0555)
OKLCHoklch(52.24% 0.121 152.8)
XYZxyz(9.0034, 15.3997, 8.2911)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D46 #7D1F56
analogous
#277D1F #1F7D46 #1F7D75
triadic
#1F7D46 #461F7D #7D461F
tetradic
#1F7D46 #1F277D #7D1F56 #7D751F
square
#1F7D46 #1F277D #7D1F56 #7D751F
split-complementary
#1F7D46 #751F7D #7D1F27
monochromatic
#071B0F #134C2B #1F7D46 #2BAE61 #45D17F

Accessibility & contrast

On white

5.15
#1F7D46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#1F7D46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D46
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D46#FFFFFF#000000##FFFFFF
##1F7D461.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7242
Deuteranopia (green-blind)
#726A4A
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7d46;
/* rgb */ color: rgb(31, 125, 70);
/* oklch */ color: oklch(52.2% 0.121 152.8);
Tailwind
colors: {
  custom: {
    50: '#69a37a',
    500: '#1f7d46',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d46;
$custom-light: #69a37a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d46",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 70
  },
  "hsl": {
    "h": 144.894,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52239,
    "c": 0.12138,
    "h": 152.8
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#1F7D46
secondary
#B04885
accent
#44A1E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7D46

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

Preview Lab → · Contrast checker → · Palette generator →

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