#1F8F48#1F8F48

#1F8F48 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.144 H 150.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F8F48
RGBrgb(31, 143, 72)
HSLhsl(142, 64%, 34%)
HSVhsv(142, 78%, 56%)
CMYKcmyk(78.3%, 0%, 49.7%, 43.9%)
CIE-LABlab(52.29, -46.65, 29.16)
CIE-LCHlch(52.29, 55.02, 147.99°)
OKLaboklab(57.3% -0.1253 0.0711)
OKLCHoklch(57.3% 0.144 150.4)
XYZxyz(11.5562, 20.4027, 9.4587)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8F48 #8F1F66
analogous
#2E8F1F #1F8F48 #1F8F80
triadic
#1F8F48 #481F8F #8F481F
tetradic
#1F8F48 #1F2E8F #8F1F66 #8F801F
square
#1F8F48 #1F2E8F #8F1F66 #8F801F
split-complementary
#1F8F48 #801F8F #8F1F2E
monochromatic
#092A15 #145D2F #1F8F48 #2AC161 #4FD982

Accessibility & contrast

On white

4.13
#1F8F48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#1F8F48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8F48
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8F48#FFFFFF#000000##000000
##1F8F481.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908242
Deuteranopia (green-blind)
#83794D
Tritanopia (blue-blind)
#008C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8f48;
/* rgb */ color: rgb(31, 143, 72);
/* oklch */ color: oklch(57.3% 0.144 150.4);
Tailwind
colors: {
  custom: {
    50: '#6eb17c',
    500: '#1f8f48',
    950: '#000000',
  },
}
SCSS
$custom: #1f8f48;
$custom-light: #6eb17c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8f48",
  "rgb": {
    "r": 31,
    "g": 143,
    "b": 72
  },
  "hsl": {
    "h": 141.964,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57301,
    "c": 0.1441,
    "h": 150.4
  },
  "luminance": 0.20404
}

Semantic roles & 50–950 ramp

primary
#1F8F48
secondary
#BC4E94
accent
#40AAE7
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#081109
muted
#7B807B

Preview Lab

Preview with #1F8F48

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

Preview Lab → · Contrast checker → · Palette generator →

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