#1F894B#1F894B

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

Color values

HEX#1F894B
RGBrgb(31, 137, 75)
HSLhsl(145, 63%, 33%)
HSVhsv(145, 77%, 54%)
CMYKcmyk(77.4%, 0%, 45.3%, 46.3%)
CIE-LABlab(50.32, -43.84, 25.04)
CIE-LCHlch(50.32, 50.49, 150.27°)
OKLaboklab(55.69% -0.1179 0.0617)
OKLCHoklch(55.69% 0.133 152.4)
XYZxyz(10.7798, 18.6894, 9.6945)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F894B #891F5D
analogous
#28891F #1F894B #1F8980
triadic
#1F894B #4B1F89 #894B1F
tetradic
#1F894B #1F2889 #891F5D #89801F
square
#1F894B #1F2889 #891F5D #89801F
split-complementary
#1F894B #801F89 #891F28
monochromatic
#082514 #145730 #1F894B #2ABB66 #4CD685

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F894B#FFFFFF#000000##000000
##1F894B1.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)
#897D46
Deuteranopia (green-blind)
#7D744F
Tritanopia (blue-blind)
#00877A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f894b;
/* rgb */ color: rgb(31, 137, 75);
/* oklch */ color: oklch(55.7% 0.133 152.4);
Tailwind
colors: {
  custom: {
    50: '#6cac7e',
    500: '#1f894b',
    950: '#000000',
  },
}
SCSS
$custom: #1f894b;
$custom-light: #6cac7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f894b",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 75
  },
  "hsl": {
    "h": 144.906,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55689,
    "c": 0.13313,
    "h": 152.4
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#1F894B
secondary
#B94B8B
accent
#42A2E6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #1F894B

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

Preview Lab → · Contrast checker → · Palette generator →

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