#1F8D45#1F8D45

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

Color values

HEX#1F8D45
RGBrgb(31, 141, 69)
HSLhsl(141, 64%, 34%)
HSVhsv(141, 78%, 55%)
CMYKcmyk(78%, 0%, 51.1%, 44.7%)
CIE-LABlab(51.58, -46.41, 29.85)
CIE-LCHlch(51.58, 55.18, 147.25°)
OKLaboklab(56.7% -0.1247 0.0725)
OKLCHoklch(56.7% 0.144 149.8)
XYZxyz(11.1632, 19.7694, 8.8566)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D45 #8D1F67
analogous
#308D1F #1F8D45 #1F8D7C
triadic
#1F8D45 #451F8D #8D451F
tetradic
#1F8D45 #1F308D #8D1F67 #8D7C1F
square
#1F8D45 #1F308D #8D1F67 #8D7C1F
split-complementary
#1F8D45 #7C1F8D #8D1F30
monochromatic
#092914 #145B2C #1F8D45 #2ABF5E #4ED87E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8D45#FFFFFF#000000##000000
##1F8D451.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)
#8E803F
Deuteranopia (green-blind)
#81774A
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8d45;
/* rgb */ color: rgb(31, 141, 69);
/* oklch */ color: oklch(56.7% 0.144 149.8);
Tailwind
colors: {
  custom: {
    50: '#6daf7a',
    500: '#1f8d45',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d45;
$custom-light: #6daf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d45",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 140.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56696,
    "c": 0.14425,
    "h": 149.8
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#1F8D45
secondary
#BB4D95
accent
#41AEE7
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8D45

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

Preview Lab → · Contrast checker → · Palette generator →

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