#1F883F#1F883F

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

Color values

HEX#1F883F
RGBrgb(31, 136, 63)
HSLhsl(138, 63%, 33%)
HSVhsv(138, 77%, 53%)
CMYKcmyk(77.2%, 0%, 53.7%, 46.7%)
CIE-LABlab(49.81, -45.54, 30.81)
CIE-LCHlch(49.81, 54.98, 145.92°)
OKLaboklab(55.21% -0.1224 0.0743)
OKLCHoklch(55.21% 0.143 148.8)
XYZxyz(10.2656, 18.2573, 7.6846)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F883F #881F68
analogous
#33881F #1F883F #1F8874
triadic
#1F883F #3F1F88 #883F1F
tetradic
#1F883F #1F3388 #881F68 #88741F
square
#1F883F #1F3388 #881F68 #88741F
split-complementary
#1F883F #741F88 #881F33
monochromatic
#082411 #145628 #1F883F #2ABA56 #4BD676

Accessibility & contrast

On white

4.51
#1F883F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F883F#FFFFFF#000000##000000
##1F883F1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f883f;
/* rgb */ color: rgb(31, 136, 63);
/* oklch */ color: oklch(55.2% 0.143 148.8);
Tailwind
colors: {
  custom: {
    50: '#6cac76',
    500: '#1f883f',
    950: '#000000',
  },
}
SCSS
$custom: #1f883f;
$custom-light: #6cac76;
$custom-dark: #000000;
JSON
{
  "hex": "#1f883f",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 63
  },
  "hsl": {
    "h": 138.286,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55205,
    "c": 0.14321,
    "h": 148.8
  },
  "luminance": 0.18259
}

Semantic roles & 50–950 ramp

primary
#1F883F
secondary
#B94A97
accent
#42B4E6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F883F

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

Preview Lab → · Contrast checker → · Palette generator →

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