#1F8247#1F8247

#1F8247 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.127 H 152.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#1F8247
RGBrgb(31, 130, 71)
HSLhsl(144, 61%, 32%)
HSVhsv(144, 76%, 51%)
CMYKcmyk(76.2%, 0%, 45.4%, 49%)
CIE-LABlab(47.89, -41.87, 24.10)
CIE-LCHlch(47.89, 48.31, 150.08°)
OKLaboklab(53.66% -0.1127 0.0594)
OKLCHoklch(53.66% 0.127 152.2)
XYZxyz(9.6842, 16.7104, 8.6751)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8247 #821F5A
analogous
#29821F #1F8247 #1F8279
triadic
#1F8247 #471F82 #82471F
tetradic
#1F8247 #1F2982 #821F5A #82791F
square
#1F8247 #1F2982 #821F5A #82791F
split-complementary
#1F8247 #791F82 #821F29
monochromatic
#071F11 #13512C #1F8247 #2BB362 #48D380

Accessibility & contrast

On white

4.84
#1F8247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#1F8247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8247
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8247#FFFFFF#000000##FFFFFF
##1F82471.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827743
Deuteranopia (green-blind)
#766E4B
Tritanopia (blue-blind)
#008074
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8247;
/* rgb */ color: rgb(31, 130, 71);
/* oklch */ color: oklch(53.7% 0.127 152.2);
Tailwind
colors: {
  custom: {
    50: '#6ba77b',
    500: '#1f8247',
    950: '#000000',
  },
}
SCSS
$custom: #1f8247;
$custom-light: #6ba77b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8247",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 71
  },
  "hsl": {
    "h": 144.242,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.12739,
    "h": 152.2
  },
  "luminance": 0.16712
}

Semantic roles & 50–950 ramp

primary
#1F8247
secondary
#B54889
accent
#43A3E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#071009
muted
#7A7F7B

Preview Lab

Preview with #1F8247

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

Preview Lab → · Contrast checker → · Palette generator →

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