#1F894D#1F894D

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

Color values

HEX#1F894D
RGBrgb(31, 137, 77)
HSLhsl(146, 63%, 33%)
HSVhsv(146, 77%, 54%)
CMYKcmyk(77.4%, 0%, 43.8%, 46.3%)
CIE-LABlab(50.35, -43.47, 23.99)
CIE-LCHlch(50.35, 49.65, 151.11°)
OKLaboklab(55.73% -0.117 0.0594)
OKLCHoklch(55.73% 0.131 153.1)
XYZxyz(10.8493, 18.7172, 10.0607)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F894D #891F5B
analogous
#26891F #1F894D #1F8982
triadic
#1F894D #4D1F89 #894D1F
tetradic
#1F894D #1F2689 #891F5B #89821F
square
#1F894D #1F2689 #891F5B #89821F
split-complementary
#1F894D #821F89 #891F26
monochromatic
#082515 #145731 #1F894D #2ABB69 #4CD688

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F894D#FFFFFF#000000##000000
##1F894D1.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)
#897D49
Deuteranopia (green-blind)
#7D7451
Tritanopia (blue-blind)
#00877A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f894d;
/* rgb */ color: rgb(31, 137, 77);
/* oklch */ color: oklch(55.7% 0.131 153.1);
Tailwind
colors: {
  custom: {
    50: '#6cac7f',
    500: '#1f894d',
    950: '#000000',
  },
}
SCSS
$custom: #1f894d;
$custom-light: #6cac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f894d",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 77
  },
  "hsl": {
    "h": 146.038,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55727,
    "c": 0.13119,
    "h": 153.1
  },
  "luminance": 0.18718
}

Semantic roles & 50–950 ramp

primary
#1F894D
secondary
#B94B89
accent
#429FE6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F894D

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

Preview Lab → · Contrast checker → · Palette generator →

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