#1F9547#1F9547

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

Color values

HEX#1F9547
RGBrgb(31, 149, 71)
HSLhsl(140, 66%, 35%)
HSVhsv(140, 79%, 58%)
CMYKcmyk(79.2%, 0%, 52.3%, 41.6%)
CIE-LABlab(54.28, -49.01, 32.17)
CIE-LCHlch(54.28, 58.62, 146.72°)
OKLaboklab(58.95% -0.1316 0.0778)
OKLCHoklch(58.95% 0.153 149.4)
XYZxyz(12.4488, 22.2396, 9.5966)
Luminance0.2224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9547 #951F6D
analogous
#32951F #1F9547 #1F9582
triadic
#1F9547 #471F95 #95471F
tetradic
#1F9547 #1F3295 #951F6D #95821F
square
#1F9547 #1F3295 #951F6D #95821F
split-complementary
#1F9547 #821F95 #951F32
monochromatic
#0A3017 #14622F #1F9547 #2AC85F #53DB81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9547#FFFFFF#000000##000000
##1F95471.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)
#968740
Deuteranopia (green-blind)
#897E4D
Tritanopia (blue-blind)
#009283
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f9547;
/* rgb */ color: rgb(31, 149, 71);
/* oklch */ color: oklch(58.9% 0.153 149.4);
Tailwind
colors: {
  custom: {
    50: '#6fb57c',
    500: '#1f9547',
    950: '#000000',
  },
}
SCSS
$custom: #1f9547;
$custom-light: #6fb57c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9547",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 71
  },
  "hsl": {
    "h": 140.339,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58945,
    "c": 0.15292,
    "h": 149.4
  },
  "luminance": 0.22241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9547

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

Preview Lab → · Contrast checker → · Palette generator →

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