#1F9748#1F9748

#1F9748 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.155 H 149.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#1F9748
RGBrgb(31, 151, 72)
HSLhsl(141, 66%, 36%)
HSVhsv(141, 79%, 59%)
CMYKcmyk(79.5%, 0%, 52.3%, 40.8%)
CIE-LABlab(54.96, -49.57, 32.49)
CIE-LCHlch(54.96, 59.27, 146.76°)
OKLaboklab(59.51% -0.1331 0.0786)
OKLCHoklch(59.51% 0.155 149.5)
XYZxyz(12.8003, 22.8909, 9.8734)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9748 #971F6E
analogous
#32971F #1F9748 #1F9784
triadic
#1F9748 #481F97 #97481F
tetradic
#1F9748 #1F3297 #971F6E #97841F
square
#1F9748 #1F3297 #971F6E #97841F
split-complementary
#1F9748 #841F97 #971F32
monochromatic
#0A3118 #156430 #1F9748 #29CA60 #54DC83

Accessibility & contrast

On white

3.76
#1F9748 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#1F9748 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9748
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9748#FFFFFF#000000##000000
##1F97481.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988941
Deuteranopia (green-blind)
#8B804E
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f9748;
/* rgb */ color: rgb(31, 151, 72);
/* oklch */ color: oklch(59.5% 0.155 149.5);
Tailwind
colors: {
  custom: {
    50: '#70b77d',
    500: '#1f9748',
    950: '#000000',
  },
}
SCSS
$custom: #1f9748;
$custom-light: #70b77d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9748",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 72
  },
  "hsl": {
    "h": 140.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59512,
    "c": 0.15459,
    "h": 149.5
  },
  "luminance": 0.22892
}

Semantic roles & 50–950 ramp

primary
#1F9748
secondary
#BF529A
accent
#3FAFE9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F9748

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

Preview Lab → · Contrast checker → · Palette generator →

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