#1F8F46#1F8F46

#1F8F46 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.146 H 149.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F8F46
RGBrgb(31, 143, 70)
HSLhsl(141, 64%, 34%)
HSVhsv(141, 78%, 56%)
CMYKcmyk(78.3%, 0%, 51%, 43.9%)
CIE-LABlab(52.26, -46.99, 30.18)
CIE-LCHlch(52.26, 55.84, 147.28°)
OKLaboklab(57.27% -0.1262 0.0733)
OKLCHoklch(57.27% 0.146 149.9)
XYZxyz(11.4921, 20.3771, 9.1207)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F46 #8F1F68
analogous
#308F1F #1F8F46 #1F8F7E
triadic
#1F8F46 #461F8F #8F461F
tetradic
#1F8F46 #1F308F #8F1F68 #8F7E1F
square
#1F8F46 #1F308F #8F1F68 #8F7E1F
split-complementary
#1F8F46 #7E1F8F #8F1F30
monochromatic
#092A15 #145D2D #1F8F46 #2AC15F #4FD97F

Accessibility & contrast

On white

4.14
#1F8F46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#1F8F46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F46
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F46#FFFFFF#000000##000000
##1F8F461.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908240
Deuteranopia (green-blind)
#83794B
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8f46;
/* rgb */ color: rgb(31, 143, 70);
/* oklch */ color: oklch(57.3% 0.146 149.9);
Tailwind
colors: {
  custom: {
    50: '#6eb17b',
    500: '#1f8f46',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f46;
$custom-light: #6eb17b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f46",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 70
  },
  "hsl": {
    "h": 140.893,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57268,
    "c": 0.14598,
    "h": 149.9
  },
  "luminance": 0.20378
}

Semantic roles & 50–950 ramp

primary
#1F8F46
secondary
#BC4E96
accent
#40ADE7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#081109
muted
#7B807B

Preview Lab

Preview with #1F8F46

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

Preview Lab → · Contrast checker → · Palette generator →

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