#1F894F#1F894F

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

Color values

HEX#1F894F
RGBrgb(31, 137, 79)
HSLhsl(147, 63%, 33%)
HSVhsv(147, 77%, 54%)
CMYKcmyk(77.4%, 0%, 42.3%, 46.3%)
CIE-LABlab(50.39, -43.08, 22.93)
CIE-LCHlch(50.39, 48.80, 151.98°)
OKLaboklab(55.77% -0.116 0.0569)
OKLCHoklch(55.77% 0.129 153.9)
XYZxyz(10.9210, 18.7458, 10.4384)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F894F #891F59
analogous
#24891F #1F894F #1F8984
triadic
#1F894F #4F1F89 #894F1F
tetradic
#1F894F #1F2489 #891F59 #89841F
square
#1F894F #1F2489 #891F59 #89841F
split-complementary
#1F894F #841F89 #891F24
monochromatic
#082515 #145732 #1F894F #2ABB6C #4CD68B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F894F#FFFFFF#000000##000000
##1F894F1.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)
#897D4B
Deuteranopia (green-blind)
#7C7453
Tritanopia (blue-blind)
#00877B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f894f;
/* rgb */ color: rgb(31, 137, 79);
/* oklch */ color: oklch(55.8% 0.129 153.9);
Tailwind
colors: {
  custom: {
    50: '#6cac81',
    500: '#1f894f',
    950: '#000000',
  },
}
SCSS
$custom: #1f894f;
$custom-light: #6cac81;
$custom-dark: #000000;
JSON
{
  "hex": "#1f894f",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 79
  },
  "hsl": {
    "h": 147.17,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55766,
    "c": 0.12925,
    "h": 153.9
  },
  "luminance": 0.18747
}

Semantic roles & 50–950 ramp

primary
#1F894F
secondary
#B94B87
accent
#429CE6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F894F

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

Preview Lab → · Contrast checker → · Palette generator →

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