#1F8D46#1F8D46

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

Color values

HEX#1F8D46
RGBrgb(31, 141, 70)
HSLhsl(141, 64%, 34%)
HSVhsv(141, 78%, 55%)
CMYKcmyk(78%, 0%, 50.4%, 44.7%)
CIE-LABlab(51.59, -46.25, 29.34)
CIE-LCHlch(51.59, 54.77, 147.60°)
OKLaboklab(56.71% -0.1243 0.0714)
OKLCHoklch(56.71% 0.143 150.1)
XYZxyz(11.1945, 19.7819, 9.0215)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D46 #8D1F66
analogous
#2F8D1F #1F8D46 #1F8D7D
triadic
#1F8D46 #461F8D #8D461F
tetradic
#1F8D46 #1F2F8D #8D1F66 #8D7D1F
square
#1F8D46 #1F2F8D #8D1F66 #8D7D1F
split-complementary
#1F8D46 #7D1F8D #8D1F2F
monochromatic
#092914 #145B2D #1F8D46 #2ABF5F #4ED87F

Accessibility & contrast

On white

4.24
#1F8D46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8D46#FFFFFF#000000##000000
##1F8D461.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8040
Deuteranopia (green-blind)
#81774B
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8d46;
/* rgb */ color: rgb(31, 141, 70);
/* oklch */ color: oklch(56.7% 0.143 150.1);
Tailwind
colors: {
  custom: {
    50: '#6daf7b',
    500: '#1f8d46',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d46;
$custom-light: #6daf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d46",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 141.273,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.14331,
    "h": 150.1
  },
  "luminance": 0.19783
}

Semantic roles & 50–950 ramp

primary
#1F8D46
secondary
#BB4D94
accent
#41ACE7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8D46

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

Preview Lab → · Contrast checker → · Palette generator →

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