#1F8846#1F8846

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

Color values

HEX#1F8846
RGBrgb(31, 136, 70)
HSLhsl(142, 63%, 33%)
HSVhsv(142, 77%, 53%)
CMYKcmyk(77.2%, 0%, 48.5%, 46.7%)
CIE-LABlab(49.91, -44.37, 27.22)
CIE-LCHlch(49.91, 52.05, 148.47°)
OKLaboklab(55.32% -0.1193 0.0666)
OKLCHoklch(55.32% 0.137 150.8)
XYZxyz(10.4738, 18.3406, 8.7813)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8846 #881F61
analogous
#2C881F #1F8846 #1F887A
triadic
#1F8846 #461F88 #88461F
tetradic
#1F8846 #1F2C88 #881F61 #887A1F
square
#1F8846 #1F2C88 #881F61 #887A1F
split-complementary
#1F8846 #7A1F88 #881F2C
monochromatic
#082413 #14562C #1F8846 #2ABA60 #4BD67F

Accessibility & contrast

On white

4.50
#1F8846 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#1F8846 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8846
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8846#FFFFFF#000000##000000
##1F88461.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C41
Deuteranopia (green-blind)
#7C734B
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8846;
/* rgb */ color: rgb(31, 136, 70);
/* oklch */ color: oklch(55.3% 0.137 150.8);
Tailwind
colors: {
  custom: {
    50: '#6cac7a',
    500: '#1f8846',
    950: '#000000',
  },
}
SCSS
$custom: #1f8846;
$custom-light: #6cac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8846",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 70
  },
  "hsl": {
    "h": 142.286,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.13659,
    "h": 150.8
  },
  "luminance": 0.18342
}

Semantic roles & 50–950 ramp

primary
#1F8846
secondary
#B94A90
accent
#42A9E6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8846

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

Preview Lab → · Contrast checker → · Palette generator →

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