#1F8A43#1F8A43

#1F8A43 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.8% C 0.142 H 149.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1F8A43
RGBrgb(31, 138, 67)
HSLhsl(140, 63%, 33%)
HSVhsv(140, 78%, 54%)
CMYKcmyk(77.5%, 0%, 51.4%, 45.9%)
CIE-LABlab(50.54, -45.63, 29.61)
CIE-LCHlch(50.54, 54.40, 147.02°)
OKLaboklab(55.83% -0.1226 0.0718)
OKLCHoklch(55.83% 0.142 149.6)
XYZxyz(10.6658, 18.8723, 8.3897)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A43 #8A1F66
analogous
#308A1F #1F8A43 #1F8A78
triadic
#1F8A43 #431F8A #8A431F
tetradic
#1F8A43 #1F308A #8A1F66 #8A781F
square
#1F8A43 #1F308A #8A1F66 #8A781F
split-complementary
#1F8A43 #781F8A #8A1F30
monochromatic
#092612 #14582B #1F8A43 #2ABC5B #4CD77B

Accessibility & contrast

On white

4.40
#1F8A43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#1F8A43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A43
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A43#FFFFFF#000000##000000
##1F8A431.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8a43;
/* rgb */ color: rgb(31, 138, 67);
/* oklch */ color: oklch(55.8% 0.142 149.6);
Tailwind
colors: {
  custom: {
    50: '#6dad78',
    500: '#1f8a43',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a43;
$custom-light: #6dad78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a43",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 67
  },
  "hsl": {
    "h": 140.187,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55828,
    "c": 0.14213,
    "h": 149.6
  },
  "luminance": 0.18874
}

Semantic roles & 50–950 ramp

primary
#1F8A43
secondary
#BA4B94
accent
#41AFE6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8A43

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

Preview Lab → · Contrast checker → · Palette generator →

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