#1F8147#1F8147

#1F8147 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.126 H 152.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1F8147
RGBrgb(31, 129, 71)
HSLhsl(144, 61%, 31%)
HSVhsv(144, 76%, 51%)
CMYKcmyk(76%, 0%, 45%, 49.4%)
CIE-LABlab(47.55, -41.48, 23.66)
CIE-LCHlch(47.55, 47.75, 150.30°)
OKLaboklab(53.38% -0.1116 0.0584)
OKLCHoklch(53.38% 0.126 152.4)
XYZxyz(9.5518, 16.4456, 8.6309)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8147 #811F59
analogous
#28811F #1F8147 #1F8178
triadic
#1F8147 #471F81 #81471F
tetradic
#1F8147 #1F2881 #811F59 #81781F
square
#1F8147 #1F2881 #811F59 #81781F
split-complementary
#1F8147 #781F81 #811F28
monochromatic
#071E11 #13502C #1F8147 #2BB262 #47D380

Accessibility & contrast

On white

4.90
#1F8147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#1F8147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8147
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8147#FFFFFF#000000##FFFFFF
##1F81471.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817643
Deuteranopia (green-blind)
#766E4B
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8147;
/* rgb */ color: rgb(31, 129, 71);
/* oklch */ color: oklch(53.4% 0.126 152.4);
Tailwind
colors: {
  custom: {
    50: '#6aa67b',
    500: '#1f8147',
    950: '#000000',
  },
}
SCSS
$custom: #1f8147;
$custom-light: #6aa67b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8147",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 71
  },
  "hsl": {
    "h": 144.49,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53381,
    "c": 0.126,
    "h": 152.4
  },
  "luminance": 0.16447
}

Semantic roles & 50–950 ramp

primary
#1F8147
secondary
#B44888
accent
#43A3E4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F8147

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

Preview Lab → · Contrast checker → · Palette generator →

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