#1F8445#1F8445

#1F8445 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.132 H 151.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1F8445
RGBrgb(31, 132, 69)
HSLhsl(143, 62%, 32%)
HSVhsv(143, 77%, 52%)
CMYKcmyk(76.5%, 0%, 47.7%, 48.2%)
CIE-LABlab(48.54, -43.01, 26.03)
CIE-LCHlch(48.54, 50.27, 148.82°)
OKLaboklab(54.18% -0.1157 0.0638)
OKLCHoklch(54.18% 0.132 151.1)
XYZxyz(9.8897, 17.2224, 8.4321)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8445 #841F5E
analogous
#2C841F #1F8445 #1F8478
triadic
#1F8445 #451F84 #84451F
tetradic
#1F8445 #1F2C84 #841F5E #84781F
square
#1F8445 #1F2C84 #841F5E #84781F
split-complementary
#1F8445 #781F84 #841F2C
monochromatic
#082111 #13522B #1F8445 #2BB65F #49D47D

Accessibility & contrast

On white

4.72
#1F8445 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#1F8445 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8445
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8445#FFFFFF#000000##FFFFFF
##1F84451.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857840
Deuteranopia (green-blind)
#797049
Tritanopia (blue-blind)
#008275
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8445;
/* rgb */ color: rgb(31, 132, 69);
/* oklch */ color: oklch(54.2% 0.132 151.1);
Tailwind
colors: {
  custom: {
    50: '#6ba97a',
    500: '#1f8445',
    950: '#000000',
  },
}
SCSS
$custom: #1f8445;
$custom-light: #6ba97a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8445",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 69
  },
  "hsl": {
    "h": 142.574,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54184,
    "c": 0.1321,
    "h": 151.1
  },
  "luminance": 0.17224
}

Semantic roles & 50–950 ramp

primary
#1F8445
secondary
#B7488D
accent
#43A8E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8445

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

Preview Lab → · Contrast checker → · Palette generator →

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