#1F844E#1F844E

#1F844E is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.4% C 0.123 H 154.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1F844E
RGBrgb(31, 132, 78)
HSLhsl(148, 62%, 32%)
HSVhsv(148, 77%, 52%)
CMYKcmyk(76.5%, 0%, 40.9%, 48.2%)
CIE-LABlab(48.69, -41.30, 21.25)
CIE-LCHlch(48.69, 46.44, 152.78°)
OKLaboklab(54.36% -0.1114 0.0529)
OKLCHoklch(54.36% 0.123 154.6)
XYZxyz(10.1905, 17.3427, 10.0167)
Luminance0.1734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F844E #841F55
analogous
#23841F #1F844E #1F8481
triadic
#1F844E #4E1F84 #844E1F
tetradic
#1F844E #1F2384 #841F55 #84811F
square
#1F844E #1F2384 #841F55 #84811F
split-complementary
#1F844E #811F84 #841F23
monochromatic
#082113 #135231 #1F844E #2BB66B #49D48A

Accessibility & contrast

On white

4.70
#1F844E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#1F844E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F844E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F844E#FFFFFF#000000##FFFFFF
##1F844E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84794A
Deuteranopia (green-blind)
#787052
Tritanopia (blue-blind)
#008276
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f844e;
/* rgb */ color: rgb(31, 132, 78);
/* oklch */ color: oklch(54.4% 0.123 154.6);
Tailwind
colors: {
  custom: {
    50: '#6ba980',
    500: '#1f844e',
    950: '#000000',
  },
}
SCSS
$custom: #1f844e;
$custom-light: #6ba980;
$custom-dark: #000000;
JSON
{
  "hex": "#1f844e",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 78
  },
  "hsl": {
    "h": 147.921,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54357,
    "c": 0.12331,
    "h": 154.6
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#1F844E
secondary
#B74883
accent
#439AE5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F844E

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

Preview Lab → · Contrast checker → · Palette generator →

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