#1F7C41#1F7C41

#1F7C41 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.125 H 151.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1F7C41
RGBrgb(31, 124, 65)
HSLhsl(142, 60%, 30%)
HSVhsv(142, 75%, 49%)
CMYKcmyk(75%, 0%, 47.6%, 51.4%)
CIE-LABlab(45.75, -40.62, 24.66)
CIE-LCHlch(45.75, 47.52, 148.74°)
OKLaboklab(51.86% -0.1093 0.0605)
OKLCHoklch(51.86% 0.125 151)
XYZxyz(8.7261, 15.0873, 7.4522)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C41 #7C1F5A
analogous
#2C7C1F #1F7C41 #1F7C6F
triadic
#1F7C41 #411F7C #7C411F
tetradic
#1F7C41 #1F2C7C #7C1F5A #7C6F1F
square
#1F7C41 #1F2C7C #7C1F5A #7C6F1F
split-complementary
#1F7C41 #6F1F7C #7C1F2C
monochromatic
#071A0E #134B27 #1F7C41 #2BAD5B #45D078

Accessibility & contrast

On white

5.23
#1F7C41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1F7C41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C41
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C41#FFFFFF#000000##FFFFFF
##1F7C411.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713C
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7c41;
/* rgb */ color: rgb(31, 124, 65);
/* oklch */ color: oklch(51.9% 0.125 151.0);
Tailwind
colors: {
  custom: {
    50: '#69a376',
    500: '#1f7c41',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c41;
$custom-light: #69a376;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c41",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 65
  },
  "hsl": {
    "h": 141.935,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51862,
    "c": 0.12493,
    "h": 151
  },
  "luminance": 0.15088
}

Semantic roles & 50–950 ramp

primary
#1F7C41
secondary
#AF4889
accent
#45A9E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1F7C41

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

Preview Lab → · Contrast checker → · Palette generator →

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