#1F8548#1F8548

#1F8548 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.131 H 152.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#1F8548
RGBrgb(31, 133, 72)
HSLhsl(144, 62%, 32%)
HSVhsv(144, 77%, 52%)
CMYKcmyk(76.7%, 0%, 45.9%, 47.8%)
CIE-LABlab(48.92, -42.85, 24.88)
CIE-LCHlch(48.92, 49.55, 149.86°)
OKLaboklab(54.52% -0.1153 0.0613)
OKLCHoklch(54.52% 0.131 152)
XYZxyz(10.1214, 17.5331, 8.9804)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8548 #851F5C
analogous
#29851F #1F8548 #1F857B
triadic
#1F8548 #481F85 #85481F
tetradic
#1F8548 #1F2985 #851F5C #857B1F
square
#1F8548 #1F2985 #851F5C #857B1F
split-complementary
#1F8548 #7B1F85 #851F29
monochromatic
#082212 #13532D #1F8548 #2BB763 #4AD582

Accessibility & contrast

On white

4.66
#1F8548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#1F8548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8548
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8548#FFFFFF#000000##FFFFFF
##1F85481.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857943
Deuteranopia (green-blind)
#79714C
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8548;
/* rgb */ color: rgb(31, 133, 72);
/* oklch */ color: oklch(54.5% 0.131 152.0);
Tailwind
colors: {
  custom: {
    50: '#6ba97c',
    500: '#1f8548',
    950: '#000000',
  },
}
SCSS
$custom: #1f8548;
$custom-light: #6ba97c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8548",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 72
  },
  "hsl": {
    "h": 144.118,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54519,
    "c": 0.13055,
    "h": 152
  },
  "luminance": 0.17534
}

Semantic roles & 50–950 ramp

primary
#1F8548
secondary
#B7498B
accent
#43A4E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8548

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

Preview Lab → · Contrast checker → · Palette generator →

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