#1F9548#1F9548

#1F9548 is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.152 H 149.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#1F9548
RGBrgb(31, 149, 72)
HSLhsl(141, 66%, 35%)
HSVhsv(141, 79%, 58%)
CMYKcmyk(79.2%, 0%, 51.7%, 41.6%)
CIE-LABlab(54.29, -48.85, 31.67)
CIE-LCHlch(54.29, 58.22, 147.05°)
OKLaboklab(58.96% -0.1312 0.0767)
OKLCHoklch(58.96% 0.152 149.7)
XYZxyz(12.4812, 22.2526, 9.7670)
Luminance0.2225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9548 #951F6C
analogous
#31951F #1F9548 #1F9583
triadic
#1F9548 #481F95 #95481F
tetradic
#1F9548 #1F3195 #951F6C #95831F
square
#1F9548 #1F3195 #951F6C #95831F
split-complementary
#1F9548 #831F95 #951F31
monochromatic
#0A3017 #146230 #1F9548 #2AC860 #53DB82

Accessibility & contrast

On white

3.85
#1F9548 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#1F9548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9548
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9548#FFFFFF#000000##000000
##1F95481.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968841
Deuteranopia (green-blind)
#897E4E
Tritanopia (blue-blind)
#009283
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f9548;
/* rgb */ color: rgb(31, 149, 72);
/* oklch */ color: oklch(59.0% 0.152 149.7);
Tailwind
colors: {
  custom: {
    50: '#6fb57c',
    500: '#1f9548',
    950: '#000000',
  },
}
SCSS
$custom: #1f9548;
$custom-light: #6fb57c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9548",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 72
  },
  "hsl": {
    "h": 140.847,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5896,
    "c": 0.15199,
    "h": 149.7
  },
  "luminance": 0.22254
}

Semantic roles & 50–950 ramp

primary
#1F9548
secondary
#BF5199
accent
#3FAEE9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9548

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

Preview Lab → · Contrast checker → · Palette generator →

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