#1F8D49#1F8D49

#1F8D49 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.140 H 151.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#1F8D49
RGBrgb(31, 141, 73)
HSLhsl(143, 64%, 34%)
HSVhsv(143, 78%, 55%)
CMYKcmyk(78%, 0%, 48.2%, 44.7%)
CIE-LABlab(51.63, -45.73, 27.80)
CIE-LCHlch(51.63, 53.52, 148.70°)
OKLaboklab(56.76% -0.1229 0.068)
OKLCHoklch(56.76% 0.14 151)
XYZxyz(11.2916, 19.8208, 9.5327)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D49 #8D1F63
analogous
#2C8D1F #1F8D49 #1F8D80
triadic
#1F8D49 #491F8D #8D491F
tetradic
#1F8D49 #1F2C8D #8D1F63 #8D801F
square
#1F8D49 #1F2C8D #8D1F63 #8D801F
split-complementary
#1F8D49 #801F8D #8D1F2C
monochromatic
#092915 #145B2F #1F8D49 #2ABF63 #4ED883

Accessibility & contrast

On white

4.23
#1F8D49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#1F8D49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D49
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D49#FFFFFF#000000##000000
##1F8D491.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8044
Deuteranopia (green-blind)
#81774E
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8d49;
/* rgb */ color: rgb(31, 141, 73);
/* oklch */ color: oklch(56.8% 0.140 151.0);
Tailwind
colors: {
  custom: {
    50: '#6daf7d',
    500: '#1f8d49',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d49;
$custom-light: #6daf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d49",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 73
  },
  "hsl": {
    "h": 142.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.14048,
    "h": 151
  },
  "luminance": 0.19822
}

Semantic roles & 50–950 ramp

primary
#1F8D49
secondary
#BB4D91
accent
#41A8E7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8D49

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

Preview Lab → · Contrast checker → · Palette generator →

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