#1F7D41#1F7D41

#1F7D41 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.126 H 150.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1F7D41
RGBrgb(31, 125, 65)
HSLhsl(142, 60%, 31%)
HSVhsv(142, 75%, 49%)
CMYKcmyk(75.2%, 0%, 48%, 51%)
CIE-LABlab(46.10, -41.01, 25.10)
CIE-LCHlch(46.10, 48.08, 148.53°)
OKLaboklab(52.15% -0.1103 0.0615)
OKLCHoklch(52.15% 0.126 150.9)
XYZxyz(8.8521, 15.3392, 7.4942)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D41 #7D1F5B
analogous
#2C7D1F #1F7D41 #1F7D70
triadic
#1F7D41 #411F7D #7D411F
tetradic
#1F7D41 #1F2C7D #7D1F5B #7D701F
square
#1F7D41 #1F2C7D #7D1F5B #7D701F
split-complementary
#1F7D41 #701F7D #7D1F2C
monochromatic
#071B0E #134C27 #1F7D41 #2BAE5A #45D178

Accessibility & contrast

On white

5.16
#1F7D41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1F7D41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D41
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D41#FFFFFF#000000##FFFFFF
##1F7D411.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7d41;
/* rgb */ color: rgb(31, 125, 65);
/* oklch */ color: oklch(52.1% 0.126 150.9);
Tailwind
colors: {
  custom: {
    50: '#69a376',
    500: '#1f7d41',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d41;
$custom-light: #69a376;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d41",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 65
  },
  "hsl": {
    "h": 141.702,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.12633,
    "h": 150.9
  },
  "luminance": 0.1534
}

Semantic roles & 50–950 ramp

primary
#1F7D41
secondary
#B0488A
accent
#44AAE3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1F7D41

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

Preview Lab → · Contrast checker → · Palette generator →

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