#1F882E#1F882E

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

Color values

HEX#1F882E
RGBrgb(31, 136, 46)
HSLhsl(129, 63%, 33%)
HSVhsv(129, 77%, 53%)
CMYKcmyk(77.2%, 0%, 66.2%, 46.7%)
CIE-LABlab(49.61, -47.86, 38.94)
CIE-LCHlch(49.61, 61.70, 140.87°)
OKLaboklab(54.98% -0.1292 0.0906)
OKLCHoklch(54.98% 0.158 145)
XYZxyz(9.8617, 18.0957, 5.5573)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F882E #881F79
analogous
#45881F #1F882E #1F8862
triadic
#1F882E #2E1F88 #882E1F
tetradic
#1F882E #1F4588 #881F79 #88621F
square
#1F882E #1F4588 #881F79 #88621F
split-complementary
#1F882E #621F88 #881F45
monochromatic
#08240C #14561D #1F882E #2ABA3F #4BD65F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F882E#FFFFFF#000000##000000
##1F882E1.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)
#8A7B23
Deuteranopia (green-blind)
#7F7336
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f882e;
/* rgb */ color: rgb(31, 136, 46);
/* oklch */ color: oklch(55.0% 0.158 145.0);
Tailwind
colors: {
  custom: {
    50: '#6dac6b',
    500: '#1f882e',
    950: '#000000',
  },
}
SCSS
$custom: #1f882e;
$custom-light: #6dac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f882e",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 46
  },
  "hsl": {
    "h": 128.571,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54981,
    "c": 0.15778,
    "h": 145
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#1F882E
secondary
#B94AA9
accent
#42CEE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F882E

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

Preview Lab → · Contrast checker → · Palette generator →

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