#1F8D43#1F8D43

#1F8D43 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.7% C 0.146 H 149.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#1F8D43
RGBrgb(31, 141, 67)
HSLhsl(140, 64%, 34%)
HSVhsv(140, 78%, 55%)
CMYKcmyk(78%, 0%, 52.5%, 44.7%)
CIE-LABlab(51.55, -46.74, 30.87)
CIE-LCHlch(51.55, 56.01, 146.56°)
OKLaboklab(56.66% -0.1256 0.0746)
OKLCHoklch(56.66% 0.146 149.3)
XYZxyz(11.1022, 19.7450, 8.5352)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D43 #8D1F69
analogous
#328D1F #1F8D43 #1F8D7A
triadic
#1F8D43 #431F8D #8D431F
tetradic
#1F8D43 #1F328D #8D1F69 #8D7A1F
square
#1F8D43 #1F328D #8D1F69 #8D7A1F
split-complementary
#1F8D43 #7A1F8D #8D1F32
monochromatic
#092913 #145B2B #1F8D43 #2ABF5B #4ED87B

Accessibility & contrast

On white

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

On black

4.95
#1F8D43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D43
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D43#FFFFFF#000000##000000
##1F8D431.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803D
Deuteranopia (green-blind)
#827748
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8d43;
/* rgb */ color: rgb(31, 141, 67);
/* oklch */ color: oklch(56.7% 0.146 149.3);
Tailwind
colors: {
  custom: {
    50: '#6daf79',
    500: '#1f8d43',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d43;
$custom-light: #6daf79;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d43",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 67
  },
  "hsl": {
    "h": 139.636,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56664,
    "c": 0.14612,
    "h": 149.3
  },
  "luminance": 0.19746
}

Semantic roles & 50–950 ramp

primary
#1F8D43
secondary
#BB4D97
accent
#41B1E7
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8D43

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

Preview Lab → · Contrast checker → · Palette generator →

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