#1F8748#1F8748

#1F8748 is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.133 H 151.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#1F8748
RGBrgb(31, 135, 72)
HSLhsl(144, 63%, 33%)
HSVhsv(144, 77%, 53%)
CMYKcmyk(77%, 0%, 46.7%, 47.1%)
CIE-LABlab(49.60, -43.63, 25.75)
CIE-LCHlch(49.60, 50.66, 149.45°)
OKLaboklab(55.08% -0.1173 0.0633)
OKLCHoklch(55.08% 0.133 151.7)
XYZxyz(10.3978, 18.0859, 9.0726)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8748 #871F5E
analogous
#2A871F #1F8748 #1F877C
triadic
#1F8748 #481F87 #87481F
tetradic
#1F8748 #1F2A87 #871F5E #877C1F
square
#1F8748 #1F2A87 #871F5E #877C1F
split-complementary
#1F8748 #7C1F87 #871F2A
monochromatic
#082313 #14552D #1F8748 #2AB963 #4BD682

Accessibility & contrast

On white

4.55
#1F8748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#1F8748 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8748
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8748#FFFFFF#000000##000000
##1F87481.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B43
Deuteranopia (green-blind)
#7B724C
Tritanopia (blue-blind)
#008578
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8748;
/* rgb */ color: rgb(31, 135, 72);
/* oklch */ color: oklch(55.1% 0.133 151.7);
Tailwind
colors: {
  custom: {
    50: '#6cab7c',
    500: '#1f8748',
    950: '#000000',
  },
}
SCSS
$custom: #1f8748;
$custom-light: #6cab7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8748",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 72
  },
  "hsl": {
    "h": 143.654,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55077,
    "c": 0.1333,
    "h": 151.7
  },
  "luminance": 0.18087
}

Semantic roles & 50–950 ramp

primary
#1F8748
secondary
#B84A8D
accent
#42A5E6
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8748

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

Preview Lab → · Contrast checker → · Palette generator →

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