#1F882D#1F882D

#1F882D is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.159 H 144.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#1F882D
RGBrgb(31, 136, 45)
HSLhsl(128, 63%, 33%)
HSVhsv(128, 77%, 53%)
CMYKcmyk(77.2%, 0%, 66.9%, 46.7%)
CIE-LABlab(49.60, -47.98, 39.38)
CIE-LCHlch(49.60, 62.07, 140.62°)
OKLaboklab(54.97% -0.1296 0.0914)
OKLCHoklch(54.97% 0.159 144.8)
XYZxyz(9.8422, 18.0879, 5.4547)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F882D #881F7A
analogous
#45881F #1F882D #1F8861
triadic
#1F882D #2D1F88 #882D1F
tetradic
#1F882D #1F4588 #881F7A #88611F
square
#1F882D #1F4588 #881F7A #88611F
split-complementary
#1F882D #611F88 #881F45
monochromatic
#08240C #14561D #1F882D #2ABA3D #4BD65E

Accessibility & contrast

On white

4.55
#1F882D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#1F882D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F882D
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F882D#FFFFFF#000000##000000
##1F882D1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B22
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f882d;
/* rgb */ color: rgb(31, 136, 45);
/* oklch */ color: oklch(55.0% 0.159 144.8);
Tailwind
colors: {
  custom: {
    50: '#6dac6a',
    500: '#1f882d',
    950: '#000000',
  },
}
SCSS
$custom: #1f882d;
$custom-light: #6dac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f882d",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 128,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5497,
    "c": 0.15855,
    "h": 144.8
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#1F882D
secondary
#B94AAA
accent
#42D0E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F882D

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

Preview Lab → · Contrast checker → · Palette generator →

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