#1F894E#1F894E

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

Color values

HEX#1F894E
RGBrgb(31, 137, 78)
HSLhsl(147, 63%, 33%)
HSVhsv(147, 77%, 54%)
CMYKcmyk(77.4%, 0%, 43.1%, 46.3%)
CIE-LABlab(50.37, -43.27, 23.46)
CIE-LCHlch(50.37, 49.22, 151.54°)
OKLaboklab(55.75% -0.1165 0.0581)
OKLCHoklch(55.75% 0.13 153.5)
XYZxyz(10.8849, 18.7314, 10.2481)
Luminance0.1873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F894E #891F5A
analogous
#25891F #1F894E #1F8983
triadic
#1F894E #4E1F89 #894E1F
tetradic
#1F894E #1F2589 #891F5A #89831F
square
#1F894E #1F2589 #891F5A #89831F
split-complementary
#1F894E #831F89 #891F25
monochromatic
#082515 #145732 #1F894E #2ABB6A #4CD689

Accessibility & contrast

On white

4.42
#1F894E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#1F894E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F894E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F894E#FFFFFF#000000##000000
##1F894E1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f894e;
/* rgb */ color: rgb(31, 137, 78);
/* oklch */ color: oklch(55.7% 0.130 153.5);
Tailwind
colors: {
  custom: {
    50: '#6cac80',
    500: '#1f894e',
    950: '#000000',
  },
}
SCSS
$custom: #1f894e;
$custom-light: #6cac80;
$custom-dark: #000000;
JSON
{
  "hex": "#1f894e",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 78
  },
  "hsl": {
    "h": 146.604,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55746,
    "c": 0.13022,
    "h": 153.5
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

primary
#1F894E
secondary
#B94B88
accent
#429DE6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F894E

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

Preview Lab → · Contrast checker → · Palette generator →

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