#1F9C48#1F9C48

#1F9C48 is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.9% C 0.161 H 148.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1F9C48
RGBrgb(31, 156, 72)
HSLhsl(140, 67%, 37%)
HSVhsv(140, 80%, 61%)
CMYKcmyk(80.1%, 0%, 53.8%, 38.8%)
CIE-LABlab(56.62, -51.35, 34.53)
CIE-LCHlch(56.62, 61.88, 146.08°)
OKLaboklab(60.89% -0.1379 0.0831)
OKLCHoklch(60.89% 0.161 148.9)
XYZxyz(13.6221, 24.5345, 10.1473)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9C48 #9C1F73
analogous
#359C1F #1F9C48 #1F9C87
triadic
#1F9C48 #481F9C #9C481F
tetradic
#1F9C48 #1F359C #9C1F73 #9C871F
square
#1F9C48 #1F359C #9C1F73 #9C871F
split-complementary
#1F9C48 #871F9C #9C1F35
monochromatic
#0B3619 #156930 #1F9C48 #29CF60 #58DE84

Accessibility & contrast

On white

3.55
#1F9C48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#1F9C48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9C48
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9C48#FFFFFF#000000##000000
##1F9C481.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8E41
Deuteranopia (green-blind)
#8F844E
Tritanopia (blue-blind)
#009989
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9c48;
/* rgb */ color: rgb(31, 156, 72);
/* oklch */ color: oklch(60.9% 0.161 148.9);
Tailwind
colors: {
  custom: {
    50: '#71ba7d',
    500: '#1f9c48',
    950: '#000000',
  },
}
SCSS
$custom: #1f9c48;
$custom-light: #71ba7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9c48",
  "rgb": {
    "r": 31,
    "g": 156,
    "b": 72
  },
  "hsl": {
    "h": 139.68,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60887,
    "c": 0.16103,
    "h": 148.9
  },
  "luminance": 0.24536
}

Semantic roles & 50–950 ramp

primary
#1F9C48
secondary
#C1559E
accent
#3EB1EA
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09120A
muted
#7B817C

Preview Lab

Preview with #1F9C48

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

Preview Lab → · Contrast checker → · Palette generator →

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