#1F882B#1F882B

#1F882B is a mid, vivid green. Relative luminance 0.181; OKLCH L 54.9% C 0.160 H 144.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#1F882B
RGBrgb(31, 136, 43)
HSLhsl(127, 63%, 33%)
HSVhsv(127, 77%, 53%)
CMYKcmyk(77.2%, 0%, 68.4%, 46.7%)
CIE-LABlab(49.58, -48.20, 40.25)
CIE-LCHlch(49.58, 62.79, 140.13°)
OKLaboklab(54.95% -0.1302 0.093)
OKLCHoklch(54.95% 0.16 144.5)
XYZxyz(9.8046, 18.0729, 5.2567)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F882B #881F7C
analogous
#48881F #1F882B #1F885F
triadic
#1F882B #2B1F88 #882B1F
tetradic
#1F882B #1F4888 #881F7C #885F1F
square
#1F882B #1F4888 #881F7C #885F1F
split-complementary
#1F882B #5F1F88 #881F48
monochromatic
#08240B #14561B #1F882B #2ABA3B #4BD65B

Accessibility & contrast

On white

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

On black

4.61
#1F882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F882B
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F882B#FFFFFF#000000##000000
##1F882B1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f882b;
/* rgb */ color: rgb(31, 136, 43);
/* oklch */ color: oklch(54.9% 0.160 144.5);
Tailwind
colors: {
  custom: {
    50: '#6dac69',
    500: '#1f882b',
    950: '#000000',
  },
}
SCSS
$custom: #1f882b;
$custom-light: #6dac69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f882b",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 126.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54949,
    "c": 0.16004,
    "h": 144.5
  },
  "luminance": 0.18074
}

Semantic roles & 50–950 ramp

primary
#1F882B
secondary
#B94AAC
accent
#42D3E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F882B

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

Preview Lab → · Contrast checker → · Palette generator →

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