#1F883C#1F883C

#1F883C is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.146 H 148.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#1F883C
RGBrgb(31, 136, 60)
HSLhsl(137, 63%, 33%)
HSVhsv(137, 77%, 53%)
CMYKcmyk(77.2%, 0%, 55.9%, 46.7%)
CIE-LABlab(49.77, -46.00, 32.31)
CIE-LCHlch(49.77, 56.21, 144.91°)
OKLaboklab(55.16% -0.1237 0.0774)
OKLCHoklch(55.16% 0.146 148)
XYZxyz(10.1841, 18.2247, 7.2551)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F883C #881F6B
analogous
#37881F #1F883C #1F8870
triadic
#1F883C #3C1F88 #883C1F
tetradic
#1F883C #1F3788 #881F6B #88701F
square
#1F883C #1F3788 #881F6B #88701F
split-complementary
#1F883C #701F88 #881F37
monochromatic
#082410 #145626 #1F883C #2ABA52 #4BD672

Accessibility & contrast

On white

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

On black

4.65
#1F883C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F883C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F883C#FFFFFF#000000##000000
##1F883C1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B35
Deuteranopia (green-blind)
#7D7342
Tritanopia (blue-blind)
#008577
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f883c;
/* rgb */ color: rgb(31, 136, 60);
/* oklch */ color: oklch(55.2% 0.146 148.0);
Tailwind
colors: {
  custom: {
    50: '#6cac74',
    500: '#1f883c',
    950: '#000000',
  },
}
SCSS
$custom: #1f883c;
$custom-light: #6cac74;
$custom-dark: #000000;
JSON
{
  "hex": "#1f883c",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 60
  },
  "hsl": {
    "h": 136.571,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5516,
    "c": 0.14595,
    "h": 148
  },
  "luminance": 0.18226
}

Semantic roles & 50–950 ramp

primary
#1F883C
secondary
#B94A9A
accent
#42B9E6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F883C

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

Preview Lab → · Contrast checker → · Palette generator →

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