#1F8A45#1F8A45

#1F8A45 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.140 H 150.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1F8A45
RGBrgb(31, 138, 69)
HSLhsl(141, 63%, 33%)
HSVhsv(141, 78%, 54%)
CMYKcmyk(77.5%, 0%, 50%, 45.9%)
CIE-LABlab(50.57, -45.30, 28.59)
CIE-LCHlch(50.57, 53.56, 147.74°)
OKLaboklab(55.86% -0.1217 0.0696)
OKLCHoklch(55.86% 0.14 150.2)
XYZxyz(10.7268, 18.8967, 8.7112)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A45 #8A1F64
analogous
#2F8A1F #1F8A45 #1F8A7A
triadic
#1F8A45 #451F8A #8A451F
tetradic
#1F8A45 #1F2F8A #8A1F64 #8A7A1F
square
#1F8A45 #1F2F8A #8A1F64 #8A7A1F
split-complementary
#1F8A45 #7A1F8A #8A1F2F
monochromatic
#092613 #14582C #1F8A45 #2ABC5E #4CD77E

Accessibility & contrast

On white

4.39
#1F8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#1F8A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A45
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A45#FFFFFF#000000##000000
##1F8A451.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E3F
Deuteranopia (green-blind)
#7E754A
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a45;
/* rgb */ color: rgb(31, 138, 69);
/* oklch */ color: oklch(55.9% 0.140 150.2);
Tailwind
colors: {
  custom: {
    50: '#6dad7a',
    500: '#1f8a45',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a45;
$custom-light: #6dad7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a45",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 141.308,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55861,
    "c": 0.14025,
    "h": 150.2
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#1F8A45
secondary
#BA4B92
accent
#41ACE6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8A45

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

Preview Lab → · Contrast checker → · Palette generator →

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