#1F7E47#1F7E47

#1F7E47 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.122 H 153.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F7E47
RGBrgb(31, 126, 71)
HSLhsl(145, 61%, 31%)
HSVhsv(145, 75%, 49%)
CMYKcmyk(75.4%, 0%, 43.7%, 50.6%)
CIE-LABlab(46.53, -40.29, 22.34)
CIE-LCHlch(46.53, 46.06, 150.99°)
OKLaboklab(52.54% -0.1085 0.0553)
OKLCHoklch(52.54% 0.122 153)
XYZxyz(9.1624, 15.6669, 8.5011)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E47 #7E1F56
analogous
#267E1F #1F7E47 #1F7E76
triadic
#1F7E47 #471F7E #7E471F
tetradic
#1F7E47 #1F267E #7E1F56 #7E761F
square
#1F7E47 #1F267E #7E1F56 #7E761F
split-complementary
#1F7E47 #761F7E #7E1F26
monochromatic
#071C10 #134D2B #1F7E47 #2BAF63 #46D181

Accessibility & contrast

On white

5.08
#1F7E47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#1F7E47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E47
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E47#FFFFFF#000000##FFFFFF
##1F7E471.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7343
Deuteranopia (green-blind)
#736B4B
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7e47;
/* rgb */ color: rgb(31, 126, 71);
/* oklch */ color: oklch(52.5% 0.122 153.0);
Tailwind
colors: {
  custom: {
    50: '#6aa47b',
    500: '#1f7e47',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e47;
$custom-light: #6aa47b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e47",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 71
  },
  "hsl": {
    "h": 145.263,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.1218,
    "h": 153
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#1F7E47
secondary
#B14885
accent
#44A0E4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7E47

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

Preview Lab → · Contrast checker → · Palette generator →

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