#1F7D47#1F7D47

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

Color values

HEX#1F7D47
RGBrgb(31, 125, 71)
HSLhsl(146, 60%, 31%)
HSVhsv(146, 75%, 49%)
CMYKcmyk(75.2%, 0%, 43.2%, 51%)
CIE-LABlab(46.19, -39.88, 21.89)
CIE-LCHlch(46.19, 45.50, 151.24°)
OKLaboklab(52.26% -0.1075 0.0543)
OKLCHoklch(52.26% 0.12 153.2)
XYZxyz(9.0352, 15.4124, 8.4587)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D47 #7D1F55
analogous
#267D1F #1F7D47 #1F7D76
triadic
#1F7D47 #471F7D #7D471F
tetradic
#1F7D47 #1F267D #7D1F55 #7D761F
square
#1F7D47 #1F267D #7D1F55 #7D761F
split-complementary
#1F7D47 #761F7D #7D1F26
monochromatic
#071B0F #134C2B #1F7D47 #2BAE63 #45D181

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7D47#FFFFFF#000000##FFFFFF
##1F7D471.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7d47;
/* rgb */ color: rgb(31, 125, 71);
/* oklch */ color: oklch(52.3% 0.120 153.2);
Tailwind
colors: {
  custom: {
    50: '#69a37b',
    500: '#1f7d47',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d47;
$custom-light: #69a37b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d47",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 71
  },
  "hsl": {
    "h": 145.532,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52258,
    "c": 0.1204,
    "h": 153.2
  },
  "luminance": 0.15413
}

Semantic roles & 50–950 ramp

primary
#1F7D47
secondary
#B04884
accent
#44A0E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7D47

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

Preview Lab → · Contrast checker → · Palette generator →

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