#1F9746#1F9746

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

Color values

HEX#1F9746
RGBrgb(31, 151, 70)
HSLhsl(140, 66%, 36%)
HSVhsv(140, 79%, 59%)
CMYKcmyk(79.5%, 0%, 53.6%, 40.8%)
CIE-LABlab(54.93, -49.89, 33.48)
CIE-LCHlch(54.93, 60.08, 146.13°)
OKLaboklab(59.48% -0.134 0.0807)
OKLCHoklch(59.48% 0.156 149)
XYZxyz(12.7361, 22.8652, 9.5354)
Luminance0.2287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9746 #971F70
analogous
#34971F #1F9746 #1F9782
triadic
#1F9746 #461F97 #97461F
tetradic
#1F9746 #1F3497 #971F70 #97821F
square
#1F9746 #1F3497 #971F70 #97821F
split-complementary
#1F9746 #821F97 #971F34
monochromatic
#0A3117 #15642E #1F9746 #29CA5E #54DC80

Accessibility & contrast

On white

3.77
#1F9746 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#1F9746 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9746
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9746#FFFFFF#000000##000000
##1F97461.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98893F
Deuteranopia (green-blind)
#8B804C
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9746;
/* rgb */ color: rgb(31, 151, 70);
/* oklch */ color: oklch(59.5% 0.156 149.0);
Tailwind
colors: {
  custom: {
    50: '#70b77b',
    500: '#1f9746',
    950: '#000000',
  },
}
SCSS
$custom: #1f9746;
$custom-light: #70b77b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9746",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 70
  },
  "hsl": {
    "h": 139.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59481,
    "c": 0.15642,
    "h": 149
  },
  "luminance": 0.22867
}

Semantic roles & 50–950 ramp

primary
#1F9746
secondary
#BF529C
accent
#3FB2E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9746

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

Preview Lab → · Contrast checker → · Palette generator →

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