#1F8044#1F8044

#1F8044 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.128 H 151.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#1F8044
RGBrgb(31, 128, 68)
HSLhsl(143, 61%, 31%)
HSVhsv(143, 76%, 50%)
CMYKcmyk(75.8%, 0%, 46.9%, 49.8%)
CIE-LABlab(47.17, -41.64, 24.82)
CIE-LCHlch(47.17, 48.48, 149.21°)
OKLaboklab(53.04% -0.112 0.061)
OKLCHoklch(53.04% 0.128 151.4)
XYZxyz(9.3268, 16.1459, 8.0926)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8044 #801F5B
analogous
#2A801F #1F8044 #1F8074
triadic
#1F8044 #441F80 #80441F
tetradic
#1F8044 #1F2A80 #801F5B #80741F
square
#1F8044 #1F2A80 #801F5B #80741F
split-complementary
#1F8044 #741F80 #801F2A
monochromatic
#071D10 #134F2A #1F8044 #2BB15E #47D27C

Accessibility & contrast

On white

4.97
#1F8044 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#1F8044 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8044
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8044#FFFFFF#000000##FFFFFF
##1F80441.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80753F
Deuteranopia (green-blind)
#756D48
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f8044;
/* rgb */ color: rgb(31, 128, 68);
/* oklch */ color: oklch(53.0% 0.128 151.4);
Tailwind
colors: {
  custom: {
    50: '#6aa679',
    500: '#1f8044',
    950: '#000000',
  },
}
SCSS
$custom: #1f8044;
$custom-light: #6aa679;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8044",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 68
  },
  "hsl": {
    "h": 142.887,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53044,
    "c": 0.12756,
    "h": 151.4
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#1F8044
secondary
#B3488A
accent
#44A7E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F8044

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

Preview Lab → · Contrast checker → · Palette generator →

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