#1F9743#1F9743

#1F9743 is a mid, vivid green. Relative luminance 0.228; OKLCH L 59.4% C 0.159 H 148.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#1F9743
RGBrgb(31, 151, 67)
HSLhsl(138, 66%, 36%)
HSVhsv(138, 79%, 59%)
CMYKcmyk(79.5%, 0%, 55.6%, 40.8%)
CIE-LABlab(54.90, -50.34, 34.95)
CIE-LCHlch(54.90, 61.29, 145.23°)
OKLaboklab(59.44% -0.1353 0.0837)
OKLCHoklch(59.44% 0.159 148.2)
XYZxyz(12.6438, 22.8283, 9.0490)
Luminance0.2283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9743 #971F73
analogous
#37971F #1F9743 #1F977F
triadic
#1F9743 #431F97 #97431F
tetradic
#1F9743 #1F3797 #971F73 #977F1F
square
#1F9743 #1F3797 #971F73 #977F1F
split-complementary
#1F9743 #7F1F97 #971F37
monochromatic
#0A3116 #15642C #1F9743 #29CA5A #54DC7D

Accessibility & contrast

On white

3.77
#1F9743 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#1F9743 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9743
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9743#FFFFFF#000000##000000
##1F97431.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99893B
Deuteranopia (green-blind)
#8B8049
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9743;
/* rgb */ color: rgb(31, 151, 67);
/* oklch */ color: oklch(59.4% 0.159 148.2);
Tailwind
colors: {
  custom: {
    50: '#70b779',
    500: '#1f9743',
    950: '#000000',
  },
}
SCSS
$custom: #1f9743;
$custom-light: #70b779;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9743",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 67
  },
  "hsl": {
    "h": 138,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59437,
    "c": 0.15909,
    "h": 148.2
  },
  "luminance": 0.2283
}

Semantic roles & 50–950 ramp

primary
#1F9743
secondary
#BF529F
accent
#3FB6E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9743

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

Preview Lab → · Contrast checker → · Palette generator →

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