#1F9546#1F9546

#1F9546 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.154 H 149.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#1F9546
RGBrgb(31, 149, 70)
HSLhsl(140, 66%, 35%)
HSVhsv(140, 79%, 58%)
CMYKcmyk(79.2%, 0%, 53%, 41.6%)
CIE-LABlab(54.27, -49.17, 32.67)
CIE-LCHlch(54.27, 59.03, 146.40°)
OKLaboklab(58.93% -0.1321 0.0789)
OKLCHoklch(58.93% 0.154 149.2)
XYZxyz(12.4170, 22.2269, 9.4290)
Luminance0.2223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9546 #951F6E
analogous
#33951F #1F9546 #1F9581
triadic
#1F9546 #461F95 #95461F
tetradic
#1F9546 #1F3395 #951F6E #95811F
square
#1F9546 #1F3395 #951F6E #95811F
split-complementary
#1F9546 #811F95 #951F33
monochromatic
#0A3016 #14622E #1F9546 #2AC85E #53DB80

Accessibility & contrast

On white

3.86
#1F9546 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9546#FFFFFF#000000##000000
##1F95461.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96873F
Deuteranopia (green-blind)
#897E4C
Tritanopia (blue-blind)
#009283
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f9546;
/* rgb */ color: rgb(31, 149, 70);
/* oklch */ color: oklch(58.9% 0.154 149.2);
Tailwind
colors: {
  custom: {
    50: '#6fb57b',
    500: '#1f9546',
    950: '#000000',
  },
}
SCSS
$custom: #1f9546;
$custom-light: #6fb57b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9546",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 70
  },
  "hsl": {
    "h": 139.831,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58929,
    "c": 0.15383,
    "h": 149.2
  },
  "luminance": 0.22228
}

Semantic roles & 50–950 ramp

primary
#1F9546
secondary
#BF519A
accent
#3FB1E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9546

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

Preview Lab → · Contrast checker → · Palette generator →

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