#1F844F#1F844F

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

Color values

HEX#1F844F
RGBrgb(31, 132, 79)
HSLhsl(149, 62%, 32%)
HSVhsv(149, 77%, 52%)
CMYKcmyk(76.5%, 0%, 40.2%, 48.2%)
CIE-LABlab(48.71, -41.10, 20.71)
CIE-LCHlch(48.71, 46.02, 153.25°)
OKLaboklab(54.38% -0.1109 0.0517)
OKLCHoklch(54.38% 0.122 155)
XYZxyz(10.2267, 17.3571, 10.2069)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F844F #841F54
analogous
#22841F #1F844F #1F8482
triadic
#1F844F #4F1F84 #844F1F
tetradic
#1F844F #1F2284 #841F54 #84821F
square
#1F844F #1F2284 #841F54 #84821F
split-complementary
#1F844F #821F84 #841F22
monochromatic
#082114 #135231 #1F844F #2BB66D #49D48B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F844F#FFFFFF#000000##FFFFFF
##1F844F1.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)
#84794B
Deuteranopia (green-blind)
#777053
Tritanopia (blue-blind)
#008377
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f844f;
/* rgb */ color: rgb(31, 132, 79);
/* oklch */ color: oklch(54.4% 0.122 155.0);
Tailwind
colors: {
  custom: {
    50: '#6ba981',
    500: '#1f844f',
    950: '#000000',
  },
}
SCSS
$custom: #1f844f;
$custom-light: #6ba981;
$custom-dark: #000000;
JSON
{
  "hex": "#1f844f",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 79
  },
  "hsl": {
    "h": 148.515,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.12233,
    "h": 155
  },
  "luminance": 0.17358
}

Semantic roles & 50–950 ramp

primary
#1F844F
secondary
#B74882
accent
#4398E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F844F

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

Preview Lab → · Contrast checker → · Palette generator →

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