#1F882C#1F882C

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

Color values

HEX#1F882C
RGBrgb(31, 136, 44)
HSLhsl(127, 63%, 33%)
HSVhsv(127, 77%, 53%)
CMYKcmyk(77.2%, 0%, 67.6%, 46.7%)
CIE-LABlab(49.59, -48.09, 39.82)
CIE-LCHlch(49.59, 62.43, 140.37°)
OKLaboklab(54.96% -0.1299 0.0922)
OKLCHoklch(54.96% 0.159 144.6)
XYZxyz(9.8232, 18.0803, 5.3545)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F882C #881F7B
analogous
#46881F #1F882C #1F8861
triadic
#1F882C #2C1F88 #882C1F
tetradic
#1F882C #1F4688 #881F7B #88611F
square
#1F882C #1F4688 #881F7B #88611F
split-complementary
#1F882C #611F88 #881F46
monochromatic
#08240C #14561C #1F882C #2ABA3C #4BD65D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F882C#FFFFFF#000000##000000
##1F882C1.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)
#8A7B20
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f882c;
/* rgb */ color: rgb(31, 136, 44);
/* oklch */ color: oklch(55.0% 0.159 144.6);
Tailwind
colors: {
  custom: {
    50: '#6dac6a',
    500: '#1f882c',
    950: '#000000',
  },
}
SCSS
$custom: #1f882c;
$custom-light: #6dac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f882c",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 127.429,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54959,
    "c": 0.1593,
    "h": 144.6
  },
  "luminance": 0.18081
}

Semantic roles & 50–950 ramp

primary
#1F882C
secondary
#B94AAB
accent
#42D2E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F882C

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

Preview Lab → · Contrast checker → · Palette generator →

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