#1F8843#1F8843

#1F8843 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.139 H 149.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#1F8843
RGBrgb(31, 136, 67)
HSLhsl(141, 63%, 33%)
HSVhsv(141, 77%, 53%)
CMYKcmyk(77.2%, 0%, 50.7%, 46.7%)
CIE-LABlab(49.86, -44.88, 28.77)
CIE-LCHlch(49.86, 53.31, 147.34°)
OKLaboklab(55.27% -0.1206 0.0699)
OKLCHoklch(55.27% 0.139 149.9)
XYZxyz(10.3815, 18.3037, 8.2949)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8843 #881F64
analogous
#30881F #1F8843 #1F8877
triadic
#1F8843 #431F88 #88431F
tetradic
#1F8843 #1F3088 #881F64 #88771F
square
#1F8843 #1F3088 #881F64 #88771F
split-complementary
#1F8843 #771F88 #881F30
monochromatic
#082412 #14562A #1F8843 #2ABA5C #4BD67B

Accessibility & contrast

On white

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

On black

4.66
#1F8843 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8843
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8843#FFFFFF#000000##000000
##1F88431.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C3D
Deuteranopia (green-blind)
#7D7348
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8843;
/* rgb */ color: rgb(31, 136, 67);
/* oklch */ color: oklch(55.3% 0.139 149.9);
Tailwind
colors: {
  custom: {
    50: '#6cac78',
    500: '#1f8843',
    950: '#000000',
  },
}
SCSS
$custom: #1f8843;
$custom-light: #6cac78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8843",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 67
  },
  "hsl": {
    "h": 140.571,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55269,
    "c": 0.13946,
    "h": 149.9
  },
  "luminance": 0.18305
}

Semantic roles & 50–950 ramp

primary
#1F8843
secondary
#B94A93
accent
#42AEE6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8843

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

Preview Lab → · Contrast checker → · Palette generator →

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