#1F7D43#1F7D43

#1F7D43 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.124 H 151.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1F7D43
RGBrgb(31, 125, 67)
HSLhsl(143, 60%, 31%)
HSVhsv(143, 75%, 49%)
CMYKcmyk(75.2%, 0%, 46.4%, 51%)
CIE-LABlab(46.13, -40.65, 24.04)
CIE-LCHlch(46.13, 47.22, 149.40°)
OKLaboklab(52.18% -0.1094 0.0591)
OKLCHoklch(52.18% 0.124 151.6)
XYZxyz(8.9110, 15.3628, 7.8048)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D43 #7D1F59
analogous
#2A7D1F #1F7D43 #1F7D72
triadic
#1F7D43 #431F7D #7D431F
tetradic
#1F7D43 #1F2A7D #7D1F59 #7D721F
square
#1F7D43 #1F2A7D #7D1F59 #7D721F
split-complementary
#1F7D43 #721F7D #7D1F2A
monochromatic
#071B0E #134C29 #1F7D43 #2BAE5D #45D17B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7D43#FFFFFF#000000##FFFFFF
##1F7D431.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)
#7D723F
Deuteranopia (green-blind)
#726A47
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7d43;
/* rgb */ color: rgb(31, 125, 67);
/* oklch */ color: oklch(52.2% 0.124 151.6);
Tailwind
colors: {
  custom: {
    50: '#69a378',
    500: '#1f7d43',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d43;
$custom-light: #69a378;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d43",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 67
  },
  "hsl": {
    "h": 142.979,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52181,
    "c": 0.12436,
    "h": 151.6
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#1F7D43
secondary
#B04888
accent
#44A7E3
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7D43

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

Preview Lab → · Contrast checker → · Palette generator →

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