#1F8244#1F8244

#1F8244 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.130 H 151.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#1F8244
RGBrgb(31, 130, 68)
HSLhsl(142, 61%, 32%)
HSVhsv(142, 76%, 51%)
CMYKcmyk(76.2%, 0%, 47.7%, 49%)
CIE-LABlab(47.85, -42.42, 25.69)
CIE-LCHlch(47.85, 49.59, 148.81°)
OKLaboklab(53.61% -0.1141 0.063)
OKLCHoklch(53.61% 0.13 151.1)
XYZxyz(9.5903, 16.6728, 8.1805)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8244 #821F5D
analogous
#2C821F #1F8244 #1F8276
triadic
#1F8244 #441F82 #82441F
tetradic
#1F8244 #1F2C82 #821F5D #82761F
square
#1F8244 #1F2C82 #821F5D #82761F
split-complementary
#1F8244 #761F82 #821F2C
monochromatic
#071F10 #13512A #1F8244 #2BB35E #48D37C

Accessibility & contrast

On white

4.84
#1F8244 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#1F8244 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8244
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8244#FFFFFF#000000##FFFFFF
##1F82441.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773F
Deuteranopia (green-blind)
#776E48
Tritanopia (blue-blind)
#008073
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8244;
/* rgb */ color: rgb(31, 130, 68);
/* oklch */ color: oklch(53.6% 0.130 151.1);
Tailwind
colors: {
  custom: {
    50: '#6ba779',
    500: '#1f8244',
    950: '#000000',
  },
}
SCSS
$custom: #1f8244;
$custom-light: #6ba779;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8244",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 68
  },
  "hsl": {
    "h": 142.424,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53606,
    "c": 0.13032,
    "h": 151.1
  },
  "luminance": 0.16674
}

Semantic roles & 50–950 ramp

primary
#1F8244
secondary
#B5488C
accent
#43A8E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #1F8244

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

Preview Lab → · Contrast checker → · Palette generator →

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