#1F894C#1F894C

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

Color values

HEX#1F894C
RGBrgb(31, 137, 76)
HSLhsl(145, 63%, 33%)
HSVhsv(145, 77%, 54%)
CMYKcmyk(77.4%, 0%, 44.5%, 46.3%)
CIE-LABlab(50.34, -43.66, 24.51)
CIE-LCHlch(50.34, 50.07, 150.68°)
OKLaboklab(55.71% -0.1175 0.0606)
OKLCHoklch(55.71% 0.132 152.7)
XYZxyz(10.8143, 18.7032, 9.8762)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F894C #891F5C
analogous
#27891F #1F894C #1F8981
triadic
#1F894C #4C1F89 #894C1F
tetradic
#1F894C #1F2789 #891F5C #89811F
square
#1F894C #1F2789 #891F5C #89811F
split-complementary
#1F894C #811F89 #891F27
monochromatic
#082515 #145730 #1F894C #2ABB68 #4CD687

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F894C#FFFFFF#000000##000000
##1F894C1.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)
#897D48
Deuteranopia (green-blind)
#7D7450
Tritanopia (blue-blind)
#00877A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f894c;
/* rgb */ color: rgb(31, 137, 76);
/* oklch */ color: oklch(55.7% 0.132 152.7);
Tailwind
colors: {
  custom: {
    50: '#6cac7f',
    500: '#1f894c',
    950: '#000000',
  },
}
SCSS
$custom: #1f894c;
$custom-light: #6cac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f894c",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 76
  },
  "hsl": {
    "h": 145.472,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55708,
    "c": 0.13216,
    "h": 152.7
  },
  "luminance": 0.18704
}

Semantic roles & 50–950 ramp

primary
#1F894C
secondary
#B94B8A
accent
#42A0E6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F894C

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

Preview Lab → · Contrast checker → · Palette generator →

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