#1F844C#1F844C

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

Color values

HEX#1F844C
RGBrgb(31, 132, 76)
HSLhsl(147, 62%, 32%)
HSVhsv(147, 77%, 52%)
CMYKcmyk(76.5%, 0%, 42.4%, 48.2%)
CIE-LABlab(48.65, -41.70, 22.32)
CIE-LCHlch(48.65, 47.30, 151.84°)
OKLaboklab(54.32% -0.1123 0.0554)
OKLCHoklch(54.32% 0.125 153.7)
XYZxyz(10.1199, 17.3145, 9.6448)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F844C #841F57
analogous
#24841F #1F844C #1F847F
triadic
#1F844C #4C1F84 #844C1F
tetradic
#1F844C #1F2484 #841F57 #847F1F
square
#1F844C #1F2484 #841F57 #847F1F
split-complementary
#1F844C #7F1F84 #841F24
monochromatic
#082113 #13522F #1F844C #2BB669 #49D487

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F844C#FFFFFF#000000##FFFFFF
##1F844C1.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)
#847948
Deuteranopia (green-blind)
#787050
Tritanopia (blue-blind)
#008276
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f844c;
/* rgb */ color: rgb(31, 132, 76);
/* oklch */ color: oklch(54.3% 0.125 153.7);
Tailwind
colors: {
  custom: {
    50: '#6ba97e',
    500: '#1f844c',
    950: '#000000',
  },
}
SCSS
$custom: #1f844c;
$custom-light: #6ba97e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f844c",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 76
  },
  "hsl": {
    "h": 146.733,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54317,
    "c": 0.12526,
    "h": 153.7
  },
  "luminance": 0.17316
}

Semantic roles & 50–950 ramp

primary
#1F844C
secondary
#B74885
accent
#439DE5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F844C

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

Preview Lab → · Contrast checker → · Palette generator →

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