#1F7C4B#1F7C4B

#1F7C4B is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.115 H 155.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1F7C4B
RGBrgb(31, 124, 75)
HSLhsl(148, 60%, 30%)
HSVhsv(148, 75%, 49%)
CMYKcmyk(75%, 0%, 39.5%, 51.4%)
CIE-LABlab(45.93, -38.67, 19.28)
CIE-LCHlch(45.93, 43.21, 153.50°)
OKLaboklab(52.06% -0.1044 0.0482)
OKLCHoklch(52.06% 0.115 155.2)
XYZxyz(9.0419, 15.2136, 9.1152)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C4B #7C1F50
analogous
#217C1F #1F7C4B #1F7C79
triadic
#1F7C4B #4B1F7C #7C4B1F
tetradic
#1F7C4B #1F217C #7C1F50 #7C791F
square
#1F7C4B #1F217C #7C1F50 #7C791F
split-complementary
#1F7C4B #791F7C #7C1F21
monochromatic
#071A10 #134B2D #1F7C4B #2BAD69 #45D087

Accessibility & contrast

On white

5.19
#1F7C4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1F7C4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C4B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C4B#FFFFFF#000000##FFFFFF
##1F7C4B1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7248
Deuteranopia (green-blind)
#706A4E
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7c4b;
/* rgb */ color: rgb(31, 124, 75);
/* oklch */ color: oklch(52.1% 0.115 155.2);
Tailwind
colors: {
  custom: {
    50: '#69a37d',
    500: '#1f7c4b',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c4b;
$custom-light: #69a37d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c4b",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 75
  },
  "hsl": {
    "h": 148.387,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5206,
    "c": 0.11501,
    "h": 155.2
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#1F7C4B
secondary
#AF487E
accent
#4598E3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F7C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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