#1F894A#1F894A

#1F894A is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.7% C 0.134 H 152.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#1F894A
RGBrgb(31, 137, 74)
HSLhsl(144, 63%, 33%)
HSVhsv(144, 77%, 54%)
CMYKcmyk(77.4%, 0%, 46%, 46.3%)
CIE-LABlab(50.31, -44.03, 25.57)
CIE-LCHlch(50.31, 50.91, 149.86°)
OKLaboklab(55.67% -0.1184 0.0629)
OKLCHoklch(55.67% 0.134 152)
XYZxyz(10.7458, 18.6758, 9.5157)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F894A #891F5E
analogous
#29891F #1F894A #1F897F
triadic
#1F894A #4A1F89 #894A1F
tetradic
#1F894A #1F2989 #891F5E #897F1F
square
#1F894A #1F2989 #891F5E #897F1F
split-complementary
#1F894A #7F1F89 #891F29
monochromatic
#082514 #14572F #1F894A #2ABB65 #4CD684

Accessibility & contrast

On white

4.43
#1F894A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#1F894A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F894A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F894A#FFFFFF#000000##000000
##1F894A1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D45
Deuteranopia (green-blind)
#7D744E
Tritanopia (blue-blind)
#00877A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f894a;
/* rgb */ color: rgb(31, 137, 74);
/* oklch */ color: oklch(55.7% 0.134 152.0);
Tailwind
colors: {
  custom: {
    50: '#6cac7d',
    500: '#1f894a',
    950: '#000000',
  },
}
SCSS
$custom: #1f894a;
$custom-light: #6cac7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f894a",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 74
  },
  "hsl": {
    "h": 144.34,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.13409,
    "h": 152
  },
  "luminance": 0.18677
}

Semantic roles & 50–950 ramp

primary
#1F894A
secondary
#B94B8C
accent
#42A3E6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F894A

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

Preview Lab → · Contrast checker → · Palette generator →

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