#1F8543#1F8543

#1F8543 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.135 H 150.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1F8543
RGBrgb(31, 133, 67)
HSLhsl(141, 62%, 32%)
HSVhsv(141, 77%, 52%)
CMYKcmyk(76.7%, 0%, 49.6%, 47.8%)
CIE-LABlab(48.85, -43.75, 27.50)
CIE-LCHlch(48.85, 51.67, 147.85°)
OKLaboklab(54.43% -0.1176 0.0671)
OKLCHoklch(54.43% 0.135 150.3)
XYZxyz(9.9649, 17.4705, 8.1561)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8543 #851F61
analogous
#2E851F #1F8543 #1F8576
triadic
#1F8543 #431F85 #85431F
tetradic
#1F8543 #1F2E85 #851F61 #85761F
square
#1F8543 #1F2E85 #851F61 #85761F
split-complementary
#1F8543 #761F85 #851F2E
monochromatic
#082211 #13532A #1F8543 #2BB75C #4AD57B

Accessibility & contrast

On white

4.67
#1F8543 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1F8543 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8543
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8543#FFFFFF#000000##FFFFFF
##1F85431.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793E
Deuteranopia (green-blind)
#7A7148
Tritanopia (blue-blind)
#008375
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8543;
/* rgb */ color: rgb(31, 133, 67);
/* oklch */ color: oklch(54.4% 0.135 150.3);
Tailwind
colors: {
  custom: {
    50: '#6ba978',
    500: '#1f8543',
    950: '#000000',
  },
}
SCSS
$custom: #1f8543;
$custom-light: #6ba978;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8543",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 67
  },
  "hsl": {
    "h": 141.176,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5443,
    "c": 0.1354,
    "h": 150.3
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#1F8543
secondary
#B74990
accent
#43ACE5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8543

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

Preview Lab → · Contrast checker → · Palette generator →

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