#1F8845#1F8845

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

Color values

HEX#1F8845
RGBrgb(31, 136, 69)
HSLhsl(142, 63%, 33%)
HSVhsv(142, 77%, 53%)
CMYKcmyk(77.2%, 0%, 49.3%, 46.7%)
CIE-LABlab(49.89, -44.54, 27.74)
CIE-LCHlch(49.89, 52.47, 148.09°)
OKLaboklab(55.3% -0.1197 0.0677)
OKLCHoklch(55.3% 0.138 150.5)
XYZxyz(10.4425, 18.3281, 8.6164)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8845 #881F62
analogous
#2E881F #1F8845 #1F8879
triadic
#1F8845 #451F88 #88451F
tetradic
#1F8845 #1F2E88 #881F62 #88791F
square
#1F8845 #1F2E88 #881F62 #88791F
split-complementary
#1F8845 #791F88 #881F2E
monochromatic
#082412 #14562C #1F8845 #2ABA5E #4BD67E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8845#FFFFFF#000000##000000
##1F88451.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)
#897C40
Deuteranopia (green-blind)
#7D734A
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8845;
/* rgb */ color: rgb(31, 136, 69);
/* oklch */ color: oklch(55.3% 0.138 150.5);
Tailwind
colors: {
  custom: {
    50: '#6cac7a',
    500: '#1f8845',
    950: '#000000',
  },
}
SCSS
$custom: #1f8845;
$custom-light: #6cac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8845",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 69
  },
  "hsl": {
    "h": 141.714,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55303,
    "c": 0.13755,
    "h": 150.5
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#1F8845
secondary
#B94A91
accent
#42ABE6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8845

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

Preview Lab → · Contrast checker → · Palette generator →

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