#1F8D48#1F8D48

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

Color values

HEX#1F8D48
RGBrgb(31, 141, 72)
HSLhsl(142, 64%, 34%)
HSVhsv(142, 78%, 55%)
CMYKcmyk(78%, 0%, 48.9%, 44.7%)
CIE-LABlab(51.62, -45.90, 28.32)
CIE-LCHlch(51.62, 53.94, 148.33°)
OKLaboklab(56.75% -0.1234 0.0692)
OKLCHoklch(56.75% 0.141 150.7)
XYZxyz(11.2587, 19.8076, 9.3595)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D48 #8D1F64
analogous
#2D8D1F #1F8D48 #1F8D7F
triadic
#1F8D48 #481F8D #8D481F
tetradic
#1F8D48 #1F2D8D #8D1F64 #8D7F1F
square
#1F8D48 #1F2D8D #8D1F64 #8D7F1F
split-complementary
#1F8D48 #7F1F8D #8D1F2D
monochromatic
#092915 #145B2E #1F8D48 #2ABF62 #4ED882

Accessibility & contrast

On white

4.23
#1F8D48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8D48#FFFFFF#000000##000000
##1F8D481.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8043
Deuteranopia (green-blind)
#81774D
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8d48;
/* rgb */ color: rgb(31, 141, 72);
/* oklch */ color: oklch(56.7% 0.141 150.7);
Tailwind
colors: {
  custom: {
    50: '#6daf7c',
    500: '#1f8d48',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d48;
$custom-light: #6daf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d48",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 72
  },
  "hsl": {
    "h": 142.364,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.14142,
    "h": 150.7
  },
  "luminance": 0.19809
}

Semantic roles & 50–950 ramp

primary
#1F8D48
secondary
#BB4D92
accent
#41A9E7
background
#F7FAF7
surface
#EDF5EE
border
#C8CFC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8D48

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

Preview Lab → · Contrast checker → · Palette generator →

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