#1F883A#1F883A

#1F883A is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.148 H 147.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1F883A
RGBrgb(31, 136, 58)
HSLhsl(135, 63%, 33%)
HSVhsv(135, 77%, 53%)
CMYKcmyk(77.2%, 0%, 57.4%, 46.7%)
CIE-LABlab(49.74, -46.29, 33.30)
CIE-LCHlch(49.74, 57.03, 144.27°)
OKLaboklab(55.13% -0.1246 0.0795)
OKLCHoklch(55.13% 0.148 147.5)
XYZxyz(10.1322, 18.2039, 6.9819)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F883A #881F6D
analogous
#38881F #1F883A #1F886F
triadic
#1F883A #3A1F88 #883A1F
tetradic
#1F883A #1F3888 #881F6D #886F1F
square
#1F883A #1F3888 #881F6D #886F1F
split-complementary
#1F883A #6F1F88 #881F38
monochromatic
#08240F #145625 #1F883A #2ABA4F #4BD66F

Accessibility & contrast

On white

4.52
#1F883A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#1F883A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F883A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F883A#FFFFFF#000000##000000
##1F883A1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B33
Deuteranopia (green-blind)
#7E7340
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f883a;
/* rgb */ color: rgb(31, 136, 58);
/* oklch */ color: oklch(55.1% 0.148 147.5);
Tailwind
colors: {
  custom: {
    50: '#6cac72',
    500: '#1f883a',
    950: '#000000',
  },
}
SCSS
$custom: #1f883a;
$custom-light: #6cac72;
$custom-dark: #000000;
JSON
{
  "hex": "#1f883a",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 58
  },
  "hsl": {
    "h": 135.429,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55131,
    "c": 0.14775,
    "h": 147.5
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

primary
#1F883A
secondary
#B94A9C
accent
#42BCE6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F883A

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

Preview Lab → · Contrast checker → · Palette generator →

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