#1F8A48#1F8A48

#1F8A48 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.137 H 151.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#1F8A48
RGBrgb(31, 138, 72)
HSLhsl(143, 63%, 33%)
HSVhsv(143, 78%, 54%)
CMYKcmyk(77.5%, 0%, 47.8%, 45.9%)
CIE-LABlab(50.61, -44.77, 27.04)
CIE-LCHlch(50.61, 52.30, 148.87°)
OKLaboklab(55.91% -0.1204 0.0662)
OKLCHoklch(55.91% 0.137 151.2)
XYZxyz(10.8223, 18.9349, 9.2141)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A48 #8A1F61
analogous
#2B8A1F #1F8A48 #1F8A7D
triadic
#1F8A48 #481F8A #8A481F
tetradic
#1F8A48 #1F2B8A #8A1F61 #8A7D1F
square
#1F8A48 #1F2B8A #8A1F61 #8A7D1F
split-complementary
#1F8A48 #7D1F8A #8A1F2B
monochromatic
#092614 #14582E #1F8A48 #2ABC62 #4CD782

Accessibility & contrast

On white

4.39
#1F8A48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#1F8A48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A48
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A48#FFFFFF#000000##000000
##1F8A481.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E43
Deuteranopia (green-blind)
#7E754D
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a48;
/* rgb */ color: rgb(31, 138, 72);
/* oklch */ color: oklch(55.9% 0.137 151.2);
Tailwind
colors: {
  custom: {
    50: '#6cad7c',
    500: '#1f8a48',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a48;
$custom-light: #6cad7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a48",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 72
  },
  "hsl": {
    "h": 142.991,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55912,
    "c": 0.13738,
    "h": 151.2
  },
  "luminance": 0.18936
}

Semantic roles & 50–950 ramp

primary
#1F8A48
secondary
#BA4B8F
accent
#41A7E6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8A48

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

Preview Lab → · Contrast checker → · Palette generator →

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