#1F8549#1F8549

#1F8549 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.130 H 152.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#1F8549
RGBrgb(31, 133, 73)
HSLhsl(145, 62%, 32%)
HSVhsv(145, 77%, 52%)
CMYKcmyk(76.7%, 0%, 45.1%, 47.8%)
CIE-LABlab(48.94, -42.67, 24.35)
CIE-LCHlch(48.94, 49.13, 150.28°)
OKLaboklab(54.54% -0.1148 0.0601)
OKLCHoklch(54.54% 0.13 152.4)
XYZxyz(10.1543, 17.5462, 9.1536)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8549 #851F5B
analogous
#28851F #1F8549 #1F857C
triadic
#1F8549 #491F85 #85491F
tetradic
#1F8549 #1F2885 #851F5B #857C1F
square
#1F8549 #1F2885 #851F5B #857C1F
split-complementary
#1F8549 #7C1F85 #851F28
monochromatic
#082213 #13532E #1F8549 #2BB764 #4AD583

Accessibility & contrast

On white

4.66
#1F8549 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#1F8549 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8549
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8549#FFFFFF#000000##FFFFFF
##1F85491.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857945
Deuteranopia (green-blind)
#79714D
Tritanopia (blue-blind)
#008376
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8549;
/* rgb */ color: rgb(31, 133, 73);
/* oklch */ color: oklch(54.5% 0.130 152.4);
Tailwind
colors: {
  custom: {
    50: '#6ba97c',
    500: '#1f8549',
    950: '#000000',
  },
}
SCSS
$custom: #1f8549;
$custom-light: #6ba97c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8549",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 73
  },
  "hsl": {
    "h": 144.706,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.12958,
    "h": 152.4
  },
  "luminance": 0.17547
}

Semantic roles & 50–950 ramp

primary
#1F8549
secondary
#B7498A
accent
#43A2E5
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8549

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

Preview Lab → · Contrast checker → · Palette generator →

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