#1F844A#1F844A

#1F844A is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.127 H 153.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1F844A
RGBrgb(31, 132, 74)
HSLhsl(146, 62%, 32%)
HSVhsv(146, 77%, 52%)
CMYKcmyk(76.5%, 0%, 43.9%, 48.2%)
CIE-LABlab(48.62, -42.09, 23.38)
CIE-LCHlch(48.62, 48.15, 150.94°)
OKLaboklab(54.28% -0.1133 0.0579)
OKLCHoklch(54.28% 0.127 153)
XYZxyz(10.0515, 17.2871, 9.2842)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F844A #841F59
analogous
#26841F #1F844A #1F847D
triadic
#1F844A #4A1F84 #844A1F
tetradic
#1F844A #1F2684 #841F59 #847D1F
square
#1F844A #1F2684 #841F59 #847D1F
split-complementary
#1F844A #7D1F84 #841F26
monochromatic
#082112 #13522E #1F844A #2BB666 #49D484

Accessibility & contrast

On white

4.71
#1F844A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#1F844A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F844A
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F844A#FFFFFF#000000##FFFFFF
##1F844A1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847946
Deuteranopia (green-blind)
#78704E
Tritanopia (blue-blind)
#008276
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f844a;
/* rgb */ color: rgb(31, 132, 74);
/* oklch */ color: oklch(54.3% 0.127 153.0);
Tailwind
colors: {
  custom: {
    50: '#6ba97d',
    500: '#1f844a',
    950: '#000000',
  },
}
SCSS
$custom: #1f844a;
$custom-light: #6ba97d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f844a",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 74
  },
  "hsl": {
    "h": 145.545,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54277,
    "c": 0.12722,
    "h": 153
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#1F844A
secondary
#B74888
accent
#43A0E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F844A

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

Preview Lab → · Contrast checker → · Palette generator →

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