#1F8946#1F8946

#1F8946 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.138 H 150.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1F8946
RGBrgb(31, 137, 70)
HSLhsl(142, 63%, 33%)
HSVhsv(142, 77%, 54%)
CMYKcmyk(77.4%, 0%, 48.9%, 46.3%)
CIE-LABlab(50.24, -44.75, 27.65)
CIE-LCHlch(50.24, 52.60, 148.29°)
OKLaboklab(55.6% -0.1203 0.0675)
OKLCHoklch(55.6% 0.138 150.7)
XYZxyz(10.6153, 18.6236, 8.8284)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8946 #891F62
analogous
#2D891F #1F8946 #1F897B
triadic
#1F8946 #461F89 #89461F
tetradic
#1F8946 #1F2D89 #891F62 #897B1F
square
#1F8946 #1F2D89 #891F62 #897B1F
split-complementary
#1F8946 #7B1F89 #891F2D
monochromatic
#082513 #14572C #1F8946 #2ABB5F #4CD67F

Accessibility & contrast

On white

4.44
#1F8946 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#1F8946 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8946
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8946#FFFFFF#000000##000000
##1F89461.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D41
Deuteranopia (green-blind)
#7D744B
Tritanopia (blue-blind)
#008779
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8946;
/* rgb */ color: rgb(31, 137, 70);
/* oklch */ color: oklch(55.6% 0.138 150.7);
Tailwind
colors: {
  custom: {
    50: '#6cac7a',
    500: '#1f8946',
    950: '#000000',
  },
}
SCSS
$custom: #1f8946;
$custom-light: #6cac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8946",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 70
  },
  "hsl": {
    "h": 142.075,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.13795,
    "h": 150.7
  },
  "luminance": 0.18625
}

Semantic roles & 50–950 ramp

primary
#1F8946
secondary
#B94B90
accent
#42AAE6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8946

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

Preview Lab → · Contrast checker → · Palette generator →

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