#1F844B#1F844B

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

Color values

HEX#1F844B
RGBrgb(31, 132, 75)
HSLhsl(146, 62%, 32%)
HSVhsv(146, 77%, 52%)
CMYKcmyk(76.5%, 0%, 43.2%, 48.2%)
CIE-LABlab(48.64, -41.89, 22.85)
CIE-LCHlch(48.64, 47.72, 151.39°)
OKLaboklab(54.3% -0.1128 0.0566)
OKLCHoklch(54.3% 0.126 153.3)
XYZxyz(10.0854, 17.3007, 9.4631)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F844B #841F58
analogous
#25841F #1F844B #1F847E
triadic
#1F844B #4B1F84 #844B1F
tetradic
#1F844B #1F2584 #841F58 #847E1F
square
#1F844B #1F2584 #841F58 #847E1F
split-complementary
#1F844B #7E1F84 #841F25
monochromatic
#082113 #13522F #1F844B #2BB667 #49D486

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F844B#FFFFFF#000000##FFFFFF
##1F844B1.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)
#847947
Deuteranopia (green-blind)
#78704F
Tritanopia (blue-blind)
#008276
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f844b;
/* rgb */ color: rgb(31, 132, 75);
/* oklch */ color: oklch(54.3% 0.126 153.3);
Tailwind
colors: {
  custom: {
    50: '#6ba97e',
    500: '#1f844b',
    950: '#000000',
  },
}
SCSS
$custom: #1f844b;
$custom-light: #6ba97e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f844b",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 75
  },
  "hsl": {
    "h": 146.139,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.12624,
    "h": 153.3
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#1F844B
secondary
#B74887
accent
#439EE5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F844B

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

Preview Lab → · Contrast checker → · Palette generator →

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