#1F882F#1F882F

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

Color values

HEX#1F882F
RGBrgb(31, 136, 47)
HSLhsl(129, 63%, 33%)
HSVhsv(129, 77%, 53%)
CMYKcmyk(77.2%, 0%, 65.4%, 46.7%)
CIE-LABlab(49.62, -47.74, 38.49)
CIE-LCHlch(49.62, 61.33, 141.13°)
OKLaboklab(54.99% -0.1288 0.0897)
OKLCHoklch(54.99% 0.157 145.2)
XYZxyz(9.8816, 18.1037, 5.6624)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F882F #881F78
analogous
#43881F #1F882F #1F8863
triadic
#1F882F #2F1F88 #882F1F
tetradic
#1F882F #1F4388 #881F78 #88631F
square
#1F882F #1F4388 #881F78 #88631F
split-complementary
#1F882F #631F88 #881F43
monochromatic
#08240D #14561E #1F882F #2ABA40 #4BD660

Accessibility & contrast

On white

4.54
#1F882F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F882F#FFFFFF#000000##000000
##1F882F1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f882f;
/* rgb */ color: rgb(31, 136, 47);
/* oklch */ color: oklch(55.0% 0.157 145.2);
Tailwind
colors: {
  custom: {
    50: '#6dac6b',
    500: '#1f882f',
    950: '#000000',
  },
}
SCSS
$custom: #1f882f;
$custom-light: #6dac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f882f",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 129.143,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.157,
    "h": 145.2
  },
  "luminance": 0.18105
}

Semantic roles & 50–950 ramp

primary
#1F882F
secondary
#B94AA8
accent
#42CDE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F882F

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

Preview Lab → · Contrast checker → · Palette generator →

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