#1F8848#1F8848

#1F8848 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.135 H 151.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1F8848
RGBrgb(31, 136, 72)
HSLhsl(143, 63%, 33%)
HSVhsv(143, 77%, 53%)
CMYKcmyk(77.2%, 0%, 47.1%, 46.7%)
CIE-LABlab(49.94, -44.01, 26.18)
CIE-LCHlch(49.94, 51.21, 149.25°)
OKLaboklab(55.36% -0.1183 0.0643)
OKLCHoklch(55.36% 0.135 151.5)
XYZxyz(10.5380, 18.3663, 9.1193)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8848 #881F5F
analogous
#2A881F #1F8848 #1F887D
triadic
#1F8848 #481F88 #88481F
tetradic
#1F8848 #1F2A88 #881F5F #887D1F
square
#1F8848 #1F2A88 #881F5F #887D1F
split-complementary
#1F8848 #7D1F88 #881F2A
monochromatic
#082413 #14562E #1F8848 #2ABA62 #4BD682

Accessibility & contrast

On white

4.49
#1F8848 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#1F8848 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8848
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8848#FFFFFF#000000##000000
##1F88481.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C43
Deuteranopia (green-blind)
#7C734C
Tritanopia (blue-blind)
#008679
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8848;
/* rgb */ color: rgb(31, 136, 72);
/* oklch */ color: oklch(55.4% 0.135 151.5);
Tailwind
colors: {
  custom: {
    50: '#6cac7c',
    500: '#1f8848',
    950: '#000000',
  },
}
SCSS
$custom: #1f8848;
$custom-light: #6cac7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8848",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 72
  },
  "hsl": {
    "h": 143.429,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.13467,
    "h": 151.5
  },
  "luminance": 0.18368
}

Semantic roles & 50–950 ramp

primary
#1F8848
secondary
#B94A8E
accent
#42A6E6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8848

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

Preview Lab → · Contrast checker → · Palette generator →

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