#1F9549#1F9549

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

Color values

HEX#1F9549
RGBrgb(31, 149, 73)
HSLhsl(141, 66%, 35%)
HSVhsv(141, 79%, 58%)
CMYKcmyk(79.2%, 0%, 51%, 41.6%)
CIE-LABlab(54.31, -48.69, 31.17)
CIE-LCHlch(54.31, 57.81, 147.38°)
OKLaboklab(58.98% -0.1308 0.0756)
OKLCHoklch(58.98% 0.151 150)
XYZxyz(12.5141, 22.2657, 9.9402)
Luminance0.2227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9549 #951F6B
analogous
#30951F #1F9549 #1F9584
triadic
#1F9549 #491F95 #95491F
tetradic
#1F9549 #1F3095 #951F6B #95841F
square
#1F9549 #1F3095 #951F6B #95841F
split-complementary
#1F9549 #841F95 #951F30
monochromatic
#0A3017 #146230 #1F9549 #2AC862 #53DB84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9549#FFFFFF#000000##000000
##1F95491.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)
#968843
Deuteranopia (green-blind)
#897E4F
Tritanopia (blue-blind)
#009283
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f9549;
/* rgb */ color: rgb(31, 149, 73);
/* oklch */ color: oklch(59.0% 0.151 150.0);
Tailwind
colors: {
  custom: {
    50: '#6fb57d',
    500: '#1f9549',
    950: '#000000',
  },
}
SCSS
$custom: #1f9549;
$custom-light: #6fb57d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9549",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 73
  },
  "hsl": {
    "h": 141.356,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58976,
    "c": 0.15107,
    "h": 150
  },
  "luminance": 0.22267
}

Semantic roles & 50–950 ramp

primary
#1F9549
secondary
#BF5198
accent
#3FACE9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F9549

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

Preview Lab → · Contrast checker → · Palette generator →

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