#1F8743#1F8743

#1F8743 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.138 H 150.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#1F8743
RGBrgb(31, 135, 67)
HSLhsl(141, 63%, 33%)
HSVhsv(141, 77%, 53%)
CMYKcmyk(77%, 0%, 50.4%, 47.1%)
CIE-LABlab(49.52, -44.51, 28.35)
CIE-LCHlch(49.52, 52.77, 147.50°)
OKLaboklab(54.99% -0.1196 0.069)
OKLCHoklch(54.99% 0.138 150)
XYZxyz(10.2413, 18.0233, 8.2482)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8743 #871F63
analogous
#2F871F #1F8743 #1F8777
triadic
#1F8743 #431F87 #87431F
tetradic
#1F8743 #1F2F87 #871F63 #87771F
square
#1F8743 #1F2F87 #871F63 #87771F
split-complementary
#1F8743 #771F87 #871F2F
monochromatic
#082312 #14552A #1F8743 #2AB95C #4BD67B

Accessibility & contrast

On white

4.56
#1F8743 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#1F8743 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8743
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8743#FFFFFF#000000##000000
##1F87431.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3D
Deuteranopia (green-blind)
#7C7248
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8743;
/* rgb */ color: rgb(31, 135, 67);
/* oklch */ color: oklch(55.0% 0.138 150.0);
Tailwind
colors: {
  custom: {
    50: '#6cab78',
    500: '#1f8743',
    950: '#000000',
  },
}
SCSS
$custom: #1f8743;
$custom-light: #6cab78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8743",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 67
  },
  "hsl": {
    "h": 140.769,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54989,
    "c": 0.13811,
    "h": 150
  },
  "luminance": 0.18024
}

Semantic roles & 50–950 ramp

primary
#1F8743
secondary
#B84A92
accent
#42ADE6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8743

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

Preview Lab → · Contrast checker → · Palette generator →

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